- 2024.04.28 09:58
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" \