flowforfrank / webtips

https://webtips.dev
1 stars 0 forks source link

solutions/send-query-params-in-get-and-post-in-javascript #20

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

How to Send Query Params in GET and POST in JavaScript - Webtips

Learn how you can send query parameters in your GET and POST in JavaScript, and how to create helper functions for reusing them.

https://www.webtips.dev/solutions/send-query-params-in-get-and-post-in-javascript?utterances=ce83e3f05ca9e4788773e713%2FN%2F4RX8rRH9CQmKIGBXimVkguiXGZiTP%2BDZR0V53KF%2BPHwx8%2BxlTL0dQWeol4u41zfFzXjaXcN2ZnPmzb5QQ7Xf0DwcurKhx%2FjxZ1ioNvldg24tb3x1KI0a90V8%3D

sadmad commented 1 year ago

I'm using react.js to send a POST Request to a Flask API and I use this code in my project but it does not work! Do you have any recommendation for me?

flowforfrank commented 1 year ago

Hey @sadmad could you please share a reproducible version on CodeSandbox to better understand the problem?