HTTP methods and processors
Last updated
Was this helpful?
Last updated
Was this helpful?
API v1 is based on POST queries. However, according to many resources, using POST for queries in RESTful API is not a good practice:
Using different HTTP methods GET and POST allows to distinguish between Query and Command processors clearly:
GET
Query Processor
POST, PATCH, DELETE
Command Processor
Note: according to RESTful API design, queries should not change the state of the system. Current QueryFunction design allows it to execute commands through HTTP bus.