Requests
All API requests should be made to the /kong/core/api/gateway
prefix, and will return JSON as the response.
HTTP Verbs
Method | Description |
---|---|
DELETE | Used for deleting resources. |
GET | Used for retrieving resources. |
OPTIONS | Describes the given endpoint. |
POST | Used for creating resources. |
PUT/PATCH | Used 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.