Logging in with Python request module


#1

I getting the “Login request is missing required email” error.
I am adding in the email and password to a session url because I can print out the url paste it into a browser window and get back a session token. Why does it not recognize the python request?

Thanks
Eric


#2

How are you passing the email/password? Please give me an example - something like "mark@gmail.com":“mypaswrd”@https://dsp-m.cloud.dreamfactory.com?

Or are you passing through as a cURL param. Have a look at this link:

https://github.com/dreamfactorysoftware/dsp-core/wiki/cURL-Examples

Let me know if this helps.

Thanks,

  • Mark

#3

Are you using requests 2.4.0 or another library?