Index
APIs¶
Application Programming Interface
Architecture Style¶
| Best Usage | Communication Protocol | Data Format | Analogy | Security | ||
|---|---|---|---|---|---|---|
| RPC Remote Procedure Calls | ||||||
| SOAP | Legacy systems Enterprise integrations | Letter Send, stamp | High | |||
| REST | Simple | Public Web-Services Simple | JSON | XML | Postcard | Low |
| GraphQL | Schema Controllable | Complex data Personalized UX Flexible data access | Own querying language | |||
| gRPC | Performance Language-Agnostic | Realtime Apps Streaming data Micro-services High performance |
Previously, SOAP was the most secure. However, now all types can be encrypted using API tools.