Postman: HTML/CSS to Image API
Learn how to use the API to generate an image using Postman
Postman
Postman is an HTTP client that is useful for testing out API’s.
Download Postman from https://www.getpostman.com/.
URL
For creating an image, create a new POST request to https://hcti.io/v1/image
.
Authorization
Go to the Authorization tab, select “Basic Auth” and enter your User ID and API Key (available from your Dashboard).
Set HTML/CSS
Go to “Body” and click “form-data”. Then enter your HTML/CSS.
Done
Press send and you’ll get back the URL to your generated image.