QuestionQ198

Understanding and Using APIs

What distinguishes the REST and RPC API styles?

  • A RPC uses HTML format and REST uses JSON format.
  • B RPC has a single style and REST has multiple styles
  • C RPC uses the POST operation to update and REST uses the PUT operation to update.
  • D RPC is stateful in nature and REST is stateless in nature.
Explanation

REST APIs use the uniform HTTP interface to operate on resources; PUT is conventionally used to update a resource. RPC APIs expose procedures or operations rather than resources and commonly invoke those operations through POST. REST API basics and implementation

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!