-> A lightweight approach of communication between different apps
-> REST is language independent
-> REST works with any data format, but JSON is the most popular
{ "name": value }
Names of the object's attributes are always in double quote, value is in double quote if it is a string
4 HTTP methods: Post(Create), GET(Read), PUT(Update), DELETE(delete)
Development process:
Automatically give CRUD operations on entities
You only need to add spring-boot-starter-data-rest dependency to your pom.xml file, Spring will give REST CRUD operations
The above is the detailed content of REST CRUD API. For more information, please follow other related articles on the PHP Chinese website!