parnurzeal / gorequest

GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
http://parnurzeal.github.io/gorequest/
MIT License
3.44k stars 414 forks source link

can't send body "{}" #265

Open 915898891 opened 3 years ago

915898891 commented 3 years ago

I expected to send a body data like' {}' , but it failed , seemed like gorequest directly igonre body data if length of Data is 0, any method to fix this ?

wklken commented 2 years ago

https://github.com/wklken/gorequest/pull/6