These are chat archives for request/request

27th
Sep 2017
Camilo Delvasto
@camilodelvasto
Sep 27 2017 22:52
hey guys! I'm struggling with something...
I'm receiving POST data in my route. Then I'm manipulating the data (calling an external API), and then I want to send the user to an external URL through a post request.
I can print a form with the parameters in my view, and submitting will take me there, but I don't want to print a form, I just want to submit the data and take the user there.
I've tried request.post but the process hangs and won't send the user...
Any idea how to do it?
For context, I'm creating a shopping cart using vue, and I'm using webtask for validating data and integrating the payment gateway.