**Curl command is not working and generates non recognizing error **
likecurl: (3) URL rejected: Bad hostname
'-h' is not recognized as an internal or external command, operable program or batch file.
`’-d’ is not recognized as an internal or external command,
operable program or batch file.
curl -X POST "https://accounts.spotify.com/api/token"
-h "Content-Type: application/x-www-form-urlencoded"
-d "grant_type=client_credentials&client_id=xxxxxxxxxxxx&client_secret=xxxxxxxxx"
`
i’m trying to use Spotify api in command prompt and expecting to resolve non-recognizing errors
New contributor
Harry Makvana is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.