API Option | Description |
---|---|
⭐ REST | Used for CRUD style public APis and web app. |
⭐ gPRC | Used for communication b/w microservices or to collect data from IoT devices. It is relatively faster than REST or GraphQL. |
GraphQL | Used for public API with customizable request body or to aggregate internal data from multiple sources in a public API. |