Answer the question
In order to leave comments, you need to log in
How to properly combine REST API and JSON-RPC 2.0 in one API?
Good time, in the course of developing a REST API for web applications, the idea arose of using JSON-RPC 2.0 to perform all operations that are not related to direct CRUD interaction with resources.
For example, using JSON-RPC, one could implement the following requests:
Answer the question
In order to leave comments, you need to log in
Faced, even once did. Only for such hands it is necessary to tear off because it is not REST. Any RPC was originally intended for asynchronous operations when REST is a synchronous protocol
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question