Below there is the curl im using. apikey and user agent are hidden.
Code: Select all
curl --request POST \
--url https://api.opensubtitles.com/api/v1/download \
--header 'Api-Key: ${api_key}' \
--header 'Authorization: Bearer ${api_key}' \
--header 'User-Agent: ${user_agent}' \
--data '{
"file_id": "7568241"
}'