Create HTTP POST endpoint for external service

@jonatandor35 Hi, let me explain it clearly.

  1. The user clicks a button on my website and I send the user to my payment service provider.

  2. The payment is done by the user and I have set an URL to redirect the user to once the payment has been completed.

  3. Now, my payment service provided actually makes a POST request to the URL I have provided. I think they send some response but that’s irrelevant. I don’t need any action based on the response.

  4. The payment company said that the “redirection url only should be on server site language i.e java,php, python, java script etc,” like xyz. com/abc.js which accepts the POST request.

  5. So after receiving the response, I want to redirect my user to www. thecaninecompany. in/order-success.

  6. In simple term, once the payment is done, the payment provider makes a POST request to my provided URL, and I expect my provided URL to redirect to www. thecaninecompany. in/order-success since I can not directly input this address for 403 error because this page expects a GET request.
    Thank you!