# Logging in with Python request module

**URL:** <https://community.dreamfactory.com/t/logging-in-with-python-request-module/310>\
**Category:** App Configuration\
**Created:** [September 2, 2014, 9:32pm UTC](https://community.dreamfactory.com/t/logging-in-with-python-request-module/310 "2014-09-02T21:32:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lutrent](https://avatars.discourse-cdn.com/v4/letter/l/dec6dc/32.png) [@Lutrent](https://community.dreamfactory.com/u/Lutrent)\
**Post date:** [September 2, 2014, 9:32pm UTC](https://community.dreamfactory.com/t/logging-in-with-python-request-module/310/1 "2014-09-02T21:32:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mark](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/mark/32/69_2.png) [@Mark](https://community.dreamfactory.com/u/Mark)\
**Post date:** [September 3, 2014, 4:33pm UTC](https://community.dreamfactory.com/t/logging-in-with-python-request-module/310/2 "2014-09-03T16:33:00Z")

</div>

How are you passing the email/password? Please give me an example - something like "mark@gmail.com":“mypaswrd”@[https://dsp-m.cloud.dreamfactory.com](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](https://github.com/dreamfactorysoftware/dsp-core/wiki/cURL-Examples)

Let me know if this helps.

Thanks,

- Mark

---

<div class="post-metadata">

**Author:** ![Jason](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/jason/32/1194_2.png) [@Jason](https://community.dreamfactory.com/u/Jason)\
**Post date:** [September 3, 2014, 4:57pm UTC](https://community.dreamfactory.com/t/logging-in-with-python-request-module/310/3 "2014-09-03T16:57:15Z")

</div>

Are you using requests 2.4.0 or another library?
