Fix the errors in the sendPost method so that it sends a POST request with the passed arguments.
Note: the main method isn't tested, but to make the program work correctly locally, you can:
go to any website for creating a RequestBin (for example, https://requestbin.com/),
create your own RequestBin there, and use it in main.
Again, POST, not GET
- 20
Locked
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
Seb
25 February 2020, 23:46
http://requestb.in/ is not available.
Either the service doesn't exist anymore or the link is incorrect.
0
JianQiu Hwang
22 May 2020, 11:21
It seems that the service have changed the domain to requestbin
And there are more choices: http-test-server-accepting-get-post-requests
+1
Seb
22 May 2020, 11:41
Thanks.
0