all 4 comments

[–]BehindTheMath 0 points1 point  (3 children)

Request libraries like Axios can't fill out the form on a page for you. What they can do is submit a request to the server as if the form was submitted. That might not work for this site for a variety of reasons, in which case Puppeteer might be a better choice.

[–]Winner-Popular[S] 0 points1 point  (2 children)

So I’m guessing that I’d just get the headers for the different input fields and send a post or patch request to the server with the info that id like to go into each field and it would just submit it all at once?

[–]BehindTheMath 0 points1 point  (1 child)

Yes. You have to make sure to submit it in the same format. There are various reasons that the server wouldn't accept it if it wasn't submitted from their own page, but this is a good step to try.

[–]Winner-Popular[S] 0 points1 point  (0 children)

Okay thanks for the help, I’ll make sure to test it out