I am working on a Payment Integration System in Java Rest Api.
The Gateway is Zaakpay. When a user clicks Proceed to payment my site is redirected to Zaakpay payment gateway. After a successful payment from Zaakpay it redirects the user to my returnURL.html. The Transaction Results are sent to returnURL.html as a POST Form Data in a HTTP Request.
How do I capture that POST Form Data in request and how do I forward it to Java Rest Api.