Venia PWA - Handle POST requests using react router dom #3769
Unanswered
TheRealHunzik
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to handle
POST
requests using the react-router-dom (npm) library?Why? The payment gateway will redirect the user, who successfully paid, back to the platform. which is using POST request to transfer data with the redirection page. I want to get the data in react js so I can use it further in my placeOrder Mutation
One Method I saw is to add an Express route in the Upward.js file but I want to add this route using my custom package, can anyone guide me More about this Method #2552
Thank You (edited)
Beta Was this translation helpful? Give feedback.
All reactions