Configure Standard RESTful JSON in Odoo
Configure API With Standard RESTful JSON Protocol, and Publish it.

Method Execution
For Executing method, we have to provide method-name in url after model-name like /{model}/{method} in url and then provide request-body args and kwargs as per requirement, you can consider below example or details
Request Body:
http://localhost:8018/user-restjson-apikey/sale.order/action_draft
Request Body:
{
"args": [[45]], // id of model records
"kwargs": {} // paramters of method
}
