Discussion
REST API in Curl
about 5 years ago by Himanshu
Hey
I was using TP's api to update some fields
I got them successfully working in Postman rest client:
https://myaccount.tpondemand.com/api/v1/Assignables/7246?include=[EntityType[Name]]&access_token=MTM.....
Now i want to use this in curl command:
curl -k -H "access_token:MTM..." -i "[EntityType[Name]]" "https://myaccount.tpondemand.com/api/v1/Assignables/7246"
This gives me the following error:
curl: (3) [globbing] bad range in column 2
then a lot of json and XML response i am getting