API Authentication

You need to generate a login and password first. If you have not yet done this, go here.

Authentication can be done through authentication headers only (HTTP Basic). Each request should contain a valid authentication header with your personal login and password. The safest way of connecting is using HTTP Basic authentication over HTTPS.

If authentication fails, the server returns a "401 Unauthorized" header only.

Test API access

If your system has cURL you can test the Webcron API.

Example: curl -u apiLogin:apiPassword http://api.webcron.org/info
This should return something like this:

<rsp status="ok">
   <user id="123" language="english" />
</rsp> 

If you want to check the header only: curl --head -u apiLogin:apiPassword http://api.webcron.org/info