I have two HTTP requests setup. One as a GET request and the second as a POST request.
I am trying to do the follow: Login to a website called HAR via my HTTP requests, so I can grab some of the data under a certain section…
The first HTTP Module, I have as a GET request to the login page of HAR, see attached, as well as all the headers in the “inspect” section on my browser once I get logged in. Including Content-Type | Accept| Etc… I then have the second request as a POST to send my “username” and “password” to log me in.
However, I keep getting ERROR 419 on my second requests…
& I noticed the first HTTP GET request returns me the data from the login page.
Hi @Christian_Higgins, I strongly suggest using a web scraping service as they’ve built more robust systems to ensure access to what we desire.
While https://scrapeninja.net/ is popular here, I personally have had good enough success with Ujeebu | API Demo because of it’s simplified extraction abilities. Plus there are decent scraping tools too.
While it’s similar, I don’t think web scraping services would help much, since OP is not extracting data, but performing login and reusing the same cookie in a later module. To my knowledge, only the HTTP module allows sharing of cookies between modules.
P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!