Answers for "http methods in rest api"

1

restfull api methods

REST API Methods
Method		=	Description
GET			=	Retrieve information about the REST API resource
POST		=	Create a REST API resource
PUT			=	Update a REST API resource
DELETE		=	Delete a REST API resource or related component
Posted by: Guest on September-30-2021
3

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.
Posted by: Guest on November-03-2020

Browse Popular Code Answers by Language