Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic curl request from docs #3

Open
fatihyildizhan opened this issue Aug 16, 2020 · 1 comment
Open

Basic curl request from docs #3

fatihyildizhan opened this issue Aug 16, 2020 · 1 comment

Comments

@fatihyildizhan
Copy link

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\"}"

@fatihyildizhan
Copy link
Author

fatihyildizhan commented Aug 17, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant