GET, POST, PATCH, and DELETE
The four main methods of API: GET, POST, PATCH, and DELETE are commands that let developers interact with databases
GET: This sends an HTTPS request to get data from a database
POST: This sends data to a database via HTTPS
PATCH: This updates data already sent to a database
DELETE: This removes data from a database
So you will use GET to get data, POST to send it, PATCH to update it, and DELETE to remove it
Save
Comments
Log in to leave a comment.
