Request to the API using a bearer token¶
Proceed as follows to send a request to the API using a bearer token:
- ► Open the program you want to use to send the request.
- ► Add the method for the request.
-
► Add the API address together with the URI.
Example
https://apiv2.myracloud.com/domains/1234Example
https://networksecurity.myracloud.com/domains/1234 -
► Add the token as a bearer token to the header as the authentication method.
Example
-H "Authorization: Bearer MY_API_TOKEN" -
► For PUT and POST requests, include a body in JSON format with the required information for the request.
- ➔ The request should look like this: