HostTracker REST API
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
Authorization: bearer <your token here>
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