# How Login into a website via HTTP Module and get Data after Login

**URL:** <https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759>\
**Category:** Questions\
**Tags:** connections, webhooks\
**Created:** [July 5, 2024, 10:50am UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759 "2024-07-05T10:50:50Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafael\_Sanchez](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rafael_sanchez/32/5425_2.png) [@Rafael\_Sanchez](https://community.make.com/u/Rafael_Sanchez)\
**Post date:** [July 5, 2024, 10:50am UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/1 "2024-07-05T10:50:50Z")

</div>

Hello I hope all of you are having a great time 🙂

I’m trying to use the HTTP module to log into a website, It’s working but trying to get data after logging in seems it doesn’t work.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/f/f/fff08c88411f150c45e4e9e26657b7e24971ec5d.png)

In the next HTTP module where I try to get the date it does not work:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/e/b/eb083cf809759d6b528dc415824620edd4724149.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/9/69f9e463235f1102ac09a373c07d946f3ef080c9.png)

if you have solved this before please a helping hand will be appreciated.

---

<div class="post-metadata">

**Author:** ![Anshul\_Soni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/anshul_soni/32/41106_2.png) [@Anshul\_Soni](https://community.make.com/u/Anshul_Soni)\
**Post date:** [July 5, 2024, 11:06am UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/2 "2024-07-05T11:06:05Z")

</div>

Hey @Rafael_Sanchez ,

- I think you will have to first do a POST request with the login credentials, after that only you can have access to the content of the website.

- Create a perfect body parameter with your details, also capture the session info.

- After this you add one more module with a get request to get the data.

please try this and let me know

---

<div class="post-metadata">

**Author:** ![Rafael\_Sanchez](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rafael_sanchez/32/5425_2.png) [@Rafael\_Sanchez](https://community.make.com/u/Rafael_Sanchez)\
**Post date:** [July 5, 2024, 11:56am UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/3 "2024-07-05T11:56:00Z")

</div>

thanks, @Anshul_Soni could you please guide me on those steps.

This is what I have done so far:  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/e/3edbc9d140db2f427677952c50bc73f4072d7d5e.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/d/2d1739269dbae250a27c809d700e3858c7370d90.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/6/b/6bfd031be25c74e3d650f8ee960a0bb1e501fd52.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/3/1/3149588da1015b5256273906eba367229426aa65.png)

---

<div class="post-metadata">

**Author:** ![Anshul\_Soni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/anshul_soni/32/41106_2.png) [@Anshul\_Soni](https://community.make.com/u/Anshul_Soni)\
**Post date:** [July 5, 2024, 12:13pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/4 "2024-07-05T12:13:10Z")

</div>

@Rafael_Sanchez

here you can see username and password are empty , you need to add them correctly  
after that only you can post a proper request

![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/0/e/0ebc8ee51ec9ed8240f3b1e02bbc56f641eaa325.png)

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [July 5, 2024, 12:46pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/5 "2024-07-05T12:46:07Z")

</div>

However, as each website implements login differently, there is no straightforward way of doing this, and the process (modules/functions/etc.) needs to be specifically tailored to the site.

For more information, please see the topics of these users who have asked the same question before:

- [How to get information from a platform that doesn't send APIs and has no webhooks](https://community.make.com/t/how-to-get-information-from-a-platform-that-doesnt-send-apis-and-has-no-webhooks/27157)
- [Scrape and perform actions on a web page](https://community.make.com/t/scrape-and-perform-actions-on-a-web-page/16278)
- [Login to Website that doesn't Support API's](https://community.make.com/t/login-to-website-that-doesnt-support-apis/32494)

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the [Make Fans](https://samliew.com/make-discord-invite) Discord server to [chat](https://samliew.com/make-discord-invite) with other makers!

---

<div class="post-metadata">

**Author:** ![Rafael\_Sanchez](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rafael_sanchez/32/5425_2.png) [@Rafael\_Sanchez](https://community.make.com/u/Rafael_Sanchez)\
**Post date:** [July 5, 2024, 12:46pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/6 "2024-07-05T12:46:26Z")

</div>

I did that but it didn’t make a difference I tried before with the same results, I thought the session and cookie get in the previous HTTP request module would be used in the next HTTP Request Module to pass the session and cookie so the Get method could use it to get the data in the website. what I receive is a long string which is the page not logged in.

---

<div class="post-metadata">

**Author:** ![Anshul\_Soni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/anshul_soni/32/41106_2.png) [@Anshul\_Soni](https://community.make.com/u/Anshul_Soni)\
**Post date:** [July 5, 2024, 12:56pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/7 "2024-07-05T12:56:59Z")

</div>

okay @Rafael_Sanchez I don’t think so that we can scape a website data in that way, can you brief about what you’re trying to do so that we can think of some alternatives.

---

<div class="post-metadata">

**Author:** ![Rafael\_Sanchez](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rafael_sanchez/32/5425_2.png) [@Rafael\_Sanchez](https://community.make.com/u/Rafael_Sanchez)\
**Post date:** [July 5, 2024, 1:24pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/8 "2024-07-05T13:24:51Z")

</div>

Sure.

The website has two types of users:  
Normal clients where prices are let’s say $20 for 15 Amp Breaker and  
Partner clients where prices are let’s say $9.74 for the same breaker

So I need to log in as a Partner to get the partner price, and scrap the search I do to get the price.

the search toy can even test without being login in is [Search Results](https://www.gescan.com/search/?q=Q115)

To log into the Website only email and password are needed no MFA.

this show the page search with no user logged in, but I can get it in HTTP Module and either if logged in.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/7/d7b3241544c1a4093979e8fbdac1191a7673e9ae.png)

---

<div class="post-metadata">

**Author:** ![Anshul\_Soni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/anshul_soni/32/41106_2.png) [@Anshul\_Soni](https://community.make.com/u/Anshul_Soni)\
**Post date:** [July 5, 2024, 1:34pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/9 "2024-07-05T13:34:10Z")

</div>

@Rafael_Sanchez I don’t think so we need make for this, you easily scrap data using some other tech like python. if you want to send that scraped data to some other platform let’s say google sheets, you can do that easily.

let me know if you need further help on this

---

<div class="post-metadata">

**Author:** ![Rafael\_Sanchez](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rafael_sanchez/32/5425_2.png) [@Rafael\_Sanchez](https://community.make.com/u/Rafael_Sanchez)\
**Post date:** [July 5, 2024, 2:01pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/10 "2024-07-05T14:01:05Z")

</div>

Helo @Anshul_Soni yo mean run python in a server or locally to scrap the data ?  
or maybe a combination of services like Bardeen with Make, the goal is to have the most user-free intervention in the process.

For sure I will need more help 🙂 I appreciate if you can guide me

---

<div class="post-metadata">

**Author:** ![Anshul\_Soni](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/anshul_soni/32/41106_2.png) [@Anshul\_Soni](https://community.make.com/u/Anshul_Soni)\
**Post date:** [July 5, 2024, 2:16pm UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/11 "2024-07-05T14:16:54Z")

</div>

@Rafael_Sanchez Right, first scrap the data with login credentials and then send it through make. If it all helped you mark this as solution so that we can have conversation after wards for different problems.

my contact details - [Bento for contacts](https://bento.me/anshul-soni)

---

<div class="post-metadata">

**Author:** ![Rafael\_Sanchez](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/rafael_sanchez/32/5425_2.png) [@Rafael\_Sanchez](https://community.make.com/u/Rafael_Sanchez)\
**Post date:** [July 29, 2024, 10:23am UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/12 "2024-07-29T10:23:01Z")

</div>

Helo @Anshul_Soni sorry for late reply, I ended up doing a Google Cloud function with Python and invoking with Make it did the trick.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/5/3/53f32a0a8f07c0900dd19b70f0d508962379ab27.png)

Thanks for you help and collaboration

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [August 13, 2024, 5:49am UTC](https://community.make.com/t/how-login-into-a-website-via-http-module-and-get-data-after-login/44759/13 "2024-08-13T05:49:10Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


