VH
API User
Sunday, June 7, 2020 - 20:35

Hello guys, I am new in using curl and I have a qeustion. 

How it looks the final example autharization form + get smart hands type.

 

curl -X

POST 'https://api.equinix.com/oauth2/v1/token'

-H "content-type: application/json"

-d '{

"grant_type": "client_credentials",

"client_id": "ABCDE12345",

"client_secret": "FGHIJ67890"

}'

 

 

curl -X

GET "https://api.equinix.com/v1/orders/smarthands/types"

-H "content-type: application/json"

-H "authorization: Bearer qwErtY8zyW1abcdefGHI"

 


I don't understand how to combine these two example in one  and why I have to use second time

-H "authorization: Bearer qwErtY8zyW1abcdefGHI"


Thank you.

Log in to post new comments.

Equinix Customer Portal


APIs that enables all aspects of Equinix Customer Portal features in a programmatic way. Includes user administration, order management & many other capabilities.