Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (9 sloc) 696 Bytes

Authentication

The API is protected by HTTP Basic authentication. Authentication is only required for creating a new image.

Your username is your User ID and your password is your API Key. Both of these values are available from the dashboard.

To test your authentication without creating an image, use the v1/ping endpoint. Authentication via cURL would look like the following.

Run the following in your terminal

# Replace UserID and APIKey with the values from the dashboard.
curl -X POST https://hcti.io/v1/ping -u 'UserID:APIKey'