Include giitpod environment configuration
This commit is contained in:
parent
8774712384
commit
1c441c506b
@ -7,7 +7,7 @@ import sig.requests.GETRequest;
|
|||||||
public class client {
|
public class client {
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
GETRequest res = new GETRequest("https://postman-echo.com/get");
|
GETRequest res = new GETRequest("https://postman-echo.com/get?foo1=bar1&foo2=bar2");
|
||||||
System.out.println(((HttpResponse<String>)res.run()).body());
|
System.out.println(((HttpResponse<String>)res.run()).body());
|
||||||
} catch (FailedResponseException e) {
|
} catch (FailedResponseException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user