Requests

All API requests should be made to the /kong/core/api/gateway prefix, and will return JSON as the response.


HTTP Verbs

MethodDescription
DELETEUsed for deleting resources.
GETUsed for retrieving resources.
OPTIONSDescribes the given endpoint.
POSTUsed for creating resources.
PUT/PATCHUsed for updating resources. Partial data is accepted where possible.

Parameters and Data

Any parameters not included in the URL should be encoded as JSON with a Content-Type of application/json.

Additional parameters are sometimes specified via the querystring, even for POST, PUT and DELETE requests.