HostTracker REST API
BASE_URL: https://api1.host-tracker.com
Authentication
All operations but user token retrieving require authentication information in http headers. Authentication performed by using Authorization Http header with specified bearer token. Token is created by POST request with login, password data to BASE_URL/users/token. See details on user operations help page.
Example of token usage:
GET BASE_URL/task/7EE87894-B8A9-E311-BEB2-DC85DE1F0BC2 HTTP/1.1
User-Agent: Fiddler
Host: www.host-tracker.com
Content-Type: application/json
Authorization: bearer <your token here>
Content-Length: 0
CORS support
CORS is enabled for all origins (response contains header Access-Control-Allow-Origin: *).
This allows, for example, API access via JQuery AJAX requests.
Support http method overriding
If you could not use DELETE, PUT, PATCH requests for accessing API use X-HTTP-Method-Override header with POST request to resourse.
For example, for task updating you could send PUT request to BASE_URL/tasks or send POST to BASE_URL/tasks with
X-HTTP-Method-Override: PUT