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
Hi! Can someone please provide a working POST request example?
I've been struggling with sending a simple POST request with undici for hours.
Tried adding post data to body several ways, but the server is not getting it.
Tested with https://postman-echo.com/ too, native POST request succeeds, but undici is not.
Thanks for the quick, detailed help! I haven't had time to test it yet, but I already noticed that I've missed the first question mark '?' character from the beginning of the data string, maybe that caused the issue. I've modified the title of the issue to be more search friendly for those who are looking for a POST example.
Hi! Can someone please provide a working POST request example?
I've been struggling with sending a simple POST request with undici for hours.
Tried adding post data to
body
several ways, but the server is not getting it.Tested with https://postman-echo.com/ too, native POST request succeeds, but undici is not.
Is there anything wrong with this code?
The text was updated successfully, but these errors were encountered: