Closed xImAnton closed 3 years ago
Add more functions around semoxy.util:json_response that generate consequent API Responses and Errors.
semoxy.util:json_response
A request contains a json payload that is endpoint-specific.
A successful response can have an endpoint-specific format.
A response on failed request should look like this:
{ "error": { "info": "short error description", "description": "long error description" } }
Add more functions around
semoxy.util:json_response
that generate consequent API Responses and Errors.A request contains a json payload that is endpoint-specific.
A successful response can have an endpoint-specific format.
A response on failed request should look like this: