This is an archived forum post. The information may be outdated. Contact us if you have any questions.

API authentication does not work

meediake wrote on 2013-01-25:

I wanted to ask, how this API works?
I tried the following:

POST request to the url:

as the content type must be URL encoded, I added the header:
Content-type: application/x-www-form-urlencoded

And post data itself:

And it does not work, it gives me the "Missing username and/or api key" error.
support wrote on 2013-01-25:
Try the following HTML code:
<form action="" 
  <input type="hidden" name="username" value="USERNAME" />
  <input type="hidden" name="key" value="APIKEY" />
  URL: <input type="text" name="src" value=""/><br />
  <input type="submit" value="Create PDF" />

(Do not forget to replace USERNAME and APIKEY with your credentials)