Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

types of method in api

GET	is used for reading and retrieving data.
POST	is used for inserting data.
PUT	is used for updating data.
DELETE	is used for deleting data.

The primary or most-commonly-used HTTP verbs (or methods, as they are properly called) are POST, GET, PUT, PATCH, and DELETE. These correspond to create, read, update, and delete (or CRUD) operations, respectively.
 
PREVIOUS NEXT
Tagged: #types #method #api
ADD COMMENT
Topic
Name
9+2 =