When a end user visits the home page, your server send them a form to fill out.
When a end user submits the form, use the captured data to send the first API request.
Upon receiving the response from the first API request, your server will parse the response and generate a request to the second API.
You have to be careful here: the user cannot be the driver of this secondary request, if they have to interact with the page at all, (for example clicking a button) this is considered two separate requests and not two synchronous requests. In the GitHub Jobs x Todoist mashup upon receiving a response from GitHub our application immediate contacts Todoist for the next phase.
Upon receiving the response from the second API request, your server will parse the response and finally send results back to the end user.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here