10
タスク
Java Collections,  レベル 10レッスン 4
ロック未解除
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
タスク
Java Collections,  レベル 10レッスン 4
ロック未解除
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
タスク
Java Collections,  レベル 10レッスン 4
ロック未解除
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
タスク
Java Collections,  レベル 10レッスン 4
ロック未解除
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.