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.
POST, not GET
You must be signed in to leave a comment
This page doesn't have any comments yet