200-901 · Question #333
What is a characteristic of RPC APIs compared to REST APIs?
The correct answer is A. Authentication is done over provisions for the service caller and vice versa for RPC API, and. In Remote Procedure Call (RPC) APIs, authentication is often done over provisions for the service caller, and vice versa. This means that both parties authenticate each other. In contrast, REST APIs typically use HTTP headers for authentication, where the client includes authenti
Question
What is a characteristic of RPC APIs compared to REST APIs?
Options
- AAuthentication is done over provisions for the service caller and vice versa for RPC API, and
- BAll communications between the client and server must be stateless for RPC API, and REST API
- CThe architecture model for RPC API is resource-focused, and REST API is procedure-focused.
- DThe data payload must be in JSON format for RPC API, and REST API allows JSON and XML
How the community answered
(41 responses)- A88% (36)
- B2% (1)
- C2% (1)
- D7% (3)
Explanation
In Remote Procedure Call (RPC) APIs, authentication is often done over provisions for the service caller, and vice versa. This means that both parties authenticate each other. In contrast, REST APIs typically use HTTP headers for authentication, where the client includes authentication information in the HTTP headers when making a request.
Topics
Community Discussion
No community discussion yet for this question.