The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
There are 5 main types of APIs:
(Plus internal/private APIs, public APIs, partner APIs, etc.)
1. REST API (Representational State Transfer)
REST is the most commonly used API type on the web. It uses standard HTTP methods to allow communication between a client and a server.
Key Points
Use Case
Example
2. SOAP API (Simple Object Access Protocol)
SOAP is a protocol-based API with strict standards and strong security features. It uses XML for communication.
Key Points
Use Case
Example
3. GraphQL API
GraphQL allows clients to request only the data they need, reducing over-fetching and under-fetching of data.
Key Points
Use Case
Example
4. gRPC API
gRPC is a high-performance API framework developed by Google. It uses Protocol Buffers and HTTP/2.
Key Points
Use Case
Example
5. WebSocket API
WebSocket provides real-time, two-way communication between client and server over a single persistent connection.
Key Points
Use Case
Example
Summary Table