curl-converter icon indicating copy to clipboard operation
curl-converter copied to clipboard

The "--url" option does not exist.

Open oleg-tondone opened this issue 3 years ago • 1 comments
trafficstars

Following CURL request from Auth0 examples is not working:

curl --request POST --url https://signalcortex.us.auth0.com/oauth/token --header 'content-type: application/json' --data '{"client_id":"qwertyuiopasdfghqwertyuiopasdfgh","client_secret":"qwertyuiopasdfghqwertyuiopasdfghqwertyuiopasdfghqwertyuiopasdfgh","audience":"https://signalcortex.us.auth0.com/api/v2/","grant_type":"client_credentials"}'

oleg-tondone avatar Nov 07 '22 13:11 oleg-tondone

This packages uses the argument instead of the option. I'll look into supporting this option in the future. In the meantime, you may drop the --url portion and everything should work.

jasonmccreary avatar Nov 07 '22 14:11 jasonmccreary