I have an API using a robot that scrapes a page and then send the result over a GET request.
The problem is that there are 2 HTTP requests that need to be made;
- a first POST request sending the input to my robot and starting it
- a second GET request grabbing the results of the POST request
What I need is to be able to simply have the user pressing a button, and when that button is pressed the POST request is triggered.
Any clues about how I could do this?