You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although I have configured everything as specified in the installation guide, I keep sending cURLs to my server with the specified type:'login' and the data needed, but it just tries to store a new user, ignoring I want to login. I don't know whether I need to set any other configuration in my resources.py.
Here it is my cURL:
curl --dump-header -H "Accept: application/json" -H "Content-Type: application/json" -X POST --data '{"type":"login", "username":"pablo", "password":"pass"}' 'http://localhost/api/v1/user/?username=root&api_key=9a7f7c7d5489dddcbd6700fa6ab5345f681142b5&format=json'
Thanks!
The text was updated successfully, but these errors were encountered:
Although I have configured everything as specified in the installation guide, I keep sending cURLs to my server with the specified type:'login' and the data needed, but it just tries to store a new user, ignoring I want to login. I don't know whether I need to set any other configuration in my resources.py.
Here it is my cURL:
curl --dump-header -H "Accept: application/json" -H "Content-Type: application/json" -X POST --data '{"type":"login", "username":"pablo", "password":"pass"}' 'http://localhost/api/v1/user/?username=root&api_key=9a7f7c7d5489dddcbd6700fa6ab5345f681142b5&format=json'
Thanks!
The text was updated successfully, but these errors were encountered: