10
Task
Java Collections,  level 10lesson 4
Locked
POST, not GET
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.
20
Task
Java Collections,  level 10lesson 4
Locked
Again, POST, not GET
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.
10
Task
Java Collections,  level 10lesson 4
Locked
Error codes
There are errors in the main method. Fix them. Try to make as few changes as possible. The program must display the JSON document at url.
10
Task
Java Collections,  level 10lesson 4
Locked
URL properties
The decodeURLString method must take a URL as a String and display its properties on the screen: - protocol; - authority; - file; - host; - path; - port; - default port; - query; - ref.