updated API documentation
This commit is contained in:
@@ -19,3 +19,8 @@ c8aaf11d-e10e-11f0-9b16-00155d00153f.83f0383262a4875f6c6d4bb5aa8577818ca7f71cb2b
|
||||
When you encounter a problem with the API, you will most likely receive an HTTP status code in the response. This code can help indicate the nature of the issue.
|
||||
### Response codes
|
||||
These are some of the response codes you may receive when making a call to the API:
|
||||
|
||||
## Method override
|
||||
Some web servers (such as Nginx) may restrict direct use of PUT and DELETE requests, which can result in a 405 Method Not Allowed response.
|
||||
|
||||
To work around this limitation, you can send a POST request and include the `X-HTTP-Method-Override` header to indicate the intended HTTP method (e.g., PUT or DELETE). This will be reflected in the API request examples.
|
||||
Reference in New Issue
Block a user