-> 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
Das obige ist der detaillierte Inhalt vonREST-CRUD-API. Für weitere Informationen folgen Sie bitte anderen verwandten Artikeln auf der PHP chinesischen Website!