BREAKING CHANGE: the JSON generator (curlconverter.toJsonString()
), when the request body can't be parsed as JSON or as a query string (when the Content-Type
header is set to application/json
or application/x-www-form-urlencoded
respectively), now outputs it as just a string, like this: "data": "unparsabledata"
. Previously, it would generate a one element dictionary with the data as the first key, like "data": {"unparsabledata": ""}
.
New generators:
- Python + http.client
- Perl
- Julia
- Lua
Minor changes:
- if Node + request has invalid characters in the URL, wrap it in
encodeURI()