Closed nuwan94 closed 4 years ago
Requests example is not working because the types are mismatching. Corrected it by changing return type to JSON.
HttpResponse<JsonNode> response = Unirest.post("http://httpbin.org/post") .queryString("apiKey", "123") .field("parameter", "value") .field("foo", "bar") .asJson();
Thanks @nuwan94 !
Requests example is not working because the types are mismatching. Corrected it by changing return type to JSON.