You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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