In Windows Git Bash, this curl command works:
curl -v 'https://developer.api.autodesk.com/authentication/v1/authenticate' \
-X 'POST' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'client_id=6BfkncD9ypGMiHkjrfka5ydqrG4GLx1z&client_secret=EC5i7QG61Qg8jDmZ&grant_type=client_credentials&scope=data:read'
But when I try to format the contents in -d, it doesn't work:
curl -v 'https://developer.api.autodesk.com/authentication/v1/authenticate' \
-X 'POST' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'client_id=6BfkncD9ypGMiHkjrfka5ydqrG4GLx1z&
client_secret=EC5i7QG61Qg8jDmZ&
grant_type=client_credentials&
scope=data:read
'
Anyway I can format it and it works?