Search found 3 matches

Go to advanced search

by Falsyana
Thu Jul 16, 2020 3:43 pm
Forum: Developing
Topic: [OS] Brand new REST API for testing
Replies: 16
Views: 1870

Re: [OS] Brand new REST API for testing

But I got the same error with the shell now, copying exactly your command, but if I put the X POST as first argument it works curl -X POST "https://www.opensubtitles.com/api/v1/login" -d '{"username": "falsyana", "password": "xxxxxxxxxxxxx"}' -H &qu...
by Falsyana
Wed Jul 15, 2020 4:49 pm
Forum: Developing
Topic: [OS] Brand new REST API for testing
Replies: 16
Views: 1870

Re: [OS] Brand new REST API for testing

Heya, Yes I am using shell (bash) and kinda copy pasted it: # curl "https://www.opensubtitles.com/api/v1/login" -d '{"username": "falsyana", "password": "xxxxxxxxxxxxx"}' -X POST -H "Accept: application/json" -H "Content-Type: applicat...
by Falsyana
Wed Jul 15, 2020 10:05 am
Forum: Developing
Topic: [OS] Brand new REST API for testing
Replies: 16
Views: 1870

Re: [OS] Brand new REST API for testing

So I am trying to migrate my app to the new API but I seem to fail at the first step: login. According to the documentation login should be as easy as: curl "https://www.opensubtitles.com/api/v1/login" -d '{ "username": "testuser", "password": "password&q...

Go to advanced search