Curl generation query params bug (Fixes #810)

This commit is contained in:
Gregory Schier committed 2018-03-26 13:50:43 -07:00
1 parent 87ccc34bad
commit d5b75c7d32
392 files changed
+13180 -4

No files matched your search

@@ -0,0 +1,6 @@
HttpResponse<String> response = Unirest.post("http://mockbin.com/har?foo=bar&foo=baz&baz=abc&key=value")
.header("cookie", "foo=bar; bar=baz")
.header("accept", "application/json")
.header("content-type", "application/x-www-form-urlencoded")
.body("foo=bar")
.asString();