revdotcom/revai-examples

Basic curl request from docs

fatihyildizhan opened this issue · 1 comments

Hi,

When I run this request I am getting "Unsupported options" error. I just want to verify my token and make a sample request.
How can I add options?

This is the first example on docs: https://www.rev.ai/docs

curl -X POST "https://api.rev.ai/speechtotext/v1/jobs" -H "Authorization: Bearer my_token" -H "Content-Type: application/json" -d "{\"media_url\":\"https://www.rev.ai/FTC_Sample_1.mp3",\"metadata\":\"This is a sample submit jobs option\"}"

curl -X POST "https://api.rev.ai/speechtotext/v1/jobs" -H "Authorization: Bearer my_token" -H "Content-Type: application/json" -d "{\"media_url\":\"https://www.rev.ai/FTC_Sample_1.mp3\",\"metadata\":\"This is a sample submit jobs option\"}"

\ was missing after mp3