Thursday, 24 September 2020

Why can't I log in to this website with axios?

I'm trying to log in to my account on a website using axios so i can automate some tasks.I've tried three different URL's, the 2nd one down gives an error and claims that you are a bot, whether you use axios, postman or just google it. https://www.endclothing.com/gb/customer/account/login/https://www.endclothing.com/gb/customer/ajax/loginhttps://www.endclothing.com/gb/customer/account/loginPost/​I have tried both'login[username]': "email123@gmail.com",'login[password]': "password123"(for links 1 & 3)&email: ["email123@gmail.com](mailto:"email123@gmail.com)",password: "password123"(for link 2)Neither of the two work for me on any of those links, do i need to send some cookies in the headers or something along those lines? I don't understand why, when I send the POST request to link 3 with Postman, it just sits on the page without submitting anything but proceeds to give me a response of 200.Any clarification is appreciated, thanks

Submitted September 24, 2020 at 08:25PM by Winner-Popular

No comments:

Post a Comment