-
Notifications
You must be signed in to change notification settings - Fork 11
Paul Dilyard edited this page Sep 28, 2015
·
14 revisions
Development: Local VM
Staging: http://api.khe.pdilyard.com/v1.0
Production: https://api.khe.io/v1.0
The API is designed to stick as closely to the REST guidelines as possible, e.g.:
POST /messages
HTTP/1.1 201 Created
This example uses the POST
method to create a new message
resource, and receives a 201 Created
status code in response. Check out the rest of the docs for more information.
Every time an error occurrs, the response header will match the appropriate HTTP error code. The body of the response will contain an array of errors.
All errors are in the form of:
HTTP 500 Internal Server Error
{
"errors": [String]
}
Client errors are 4xx
, server errors are 5xx
.