Re: Open subtitles API download issue
Posted: Fri Apr 14, 2023 7:21 am
This seems to be the problem. Thanks.
However, note that the code examples show either Bearer or Key authorization.
E.g.
and:
However, note that the code examples show either Bearer or Key authorization.
E.g.
Code: Select all
curl --request POST \
--url https://api.opensubtitles.com/api/v1/download \
--header 'Authorization: Bearer xyz' \
--header 'Content-Type: application/json' \
--data '{
"file_id": 123
}'
Code: Select all
curl --request POST \
--url https://api.opensubtitles.com/api/v1/download \
--header 'Api-Key: x' \
--header 'Content-Type: application/json' \
--data '{
"file_id": 123
}'