Important REST API related terms you should know.π
1οΈβ£ HTTP Verbs
REST APIs use various HTTP verbs, such as GET, POST, PUT, and DELETE, to specify the type of action being performed on the resource.
For example, a GET request retrieves data from the server, while a POST request creates a new resource on the server.
2οΈβ£ Status Codes
REST APIs use HTTP status codes to indicate the result of the request.
For example, a status code of 200 indicates that the request was successful, while a status code of 404 indicates that the requested resource was not found.
3οΈβ£ Headers
HTTP headers can be used to provide additional information about the request or response, such as the content type or the authorization credentials.
4οΈβ£ Authentication
API authentication is the process of verifying that a client is who it claims to be.
This is typically done using an API key or OAuth (Open Authentication) token, which is passed as a header in the request.
5οΈβ£ Authorization
API authorization is the process of determining whether a client has the right to access a particular resource or perform a specific action.
6οΈβ£ Caching
REST APIs can use HTTP caching to improve the application's performance by storing the results of specific requests on the client side and reusing them when needed.
If you want to know more about REST API and its advantages open this:
A REST API (or Representational State Transfer Application Programming Interface) is an interface that allows applications to communicate with each other over the internet.
It is based on stateless, client-server communication and often uses HTTP or HTTPS as the communication protocol.