REST API
1 REST API is used to communicate between client and server.
2 Restful is a web server for REST API to communicate.
3 The main blocks of REST API are;
the request that it send by the user to the server
the response that is received by the user from the server as per request.
4 While communicating with the server, the use; CRUD;
Create =>POST
Read=>GET
Update=>PUT
Delete=>DELETE
5 Request consists of;
Header : consists of API keys
Operator : consists of CRUD
Endpoint : consists of endpoint we want to access
Parameter : consists of the parameter of endpoint.
6 According to requests and commands API are generated as response.
Comments
Post a Comment