Knowledgebase

How to use my API Token? Print

  • 2

Once, you have generated your API token following the previous guide: 

https://www.host-stage.net/client-area/knowledgebase/104/How-To-Create-an-API-Token-.html

You'll be able to use it directly from in your applications.
To do so, you would only need to replace the TOKEN value in the strings given by our API documentation for your programming language. 

To illustrate here is an example for the CURL language: 

curl --include \
     --header "Content-Type: application/json" \
     --header "Authorization: Bearer TOKEN" \
https://api.host-stage.net/service




The Token needs to be added instead of the 'TOKEN' string in 
  --header "Authorization: Bearer TOKEN" \


  --header "Authorization: Bearer myencryptedtoken" \

Was this answer helpful?

« Back

Start typing and press Enter to search