Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To make a request, you need to generate an access token and install cURL, as described here.

Example request

 

Code Block
languagejs
firstline1
linenumberstrue
curl -H "X-Auth-token: abcd" "http://yourdomain/url-to-api"

...

"yourdomain" is the domain where License Statistics is installed. (Note that if your installation uses either a port different than 80, or port 443 for SSL-secured HTTPS, you will need to provide them as well.)

Example 

Code Block
languagejs
firstline1
linenumberstrue
curl -H "X-Auth-token: abcd" "https://yourdomain:888/url-to-api"