I have a payment gateway Rest API URL. so I want the redirect to the payment gateway URL from my server-side Rest API when after order details successfully saved in the database.
Example
example.com (Client) -> POST Request -> pay.example.com/order(Nodejs) -> redirect with POST data -> paymentgateway.com/pay/xyz (payment gateway)
so how to redirect to the payment gateway website with POST data in Express Js?.