Closed timkellogg closed 7 years ago
You have to run the form encoding function yourself.
I wonder how you got the idea that you can pass various objects as the body
— all examples in the readme are clearly passing strings, there's even this example: "hello=" <> URI.encode_www_form("w o r l d !!")
Is there a way to make this clearer in the readme?
Ah ok, thanks for the response. I would have been helped by what you just said now. Thanks
It would be great to have an example of how to properly form a request with nested data.
It's not entirely clear why this doesn't work. This is the resulting error message:
(Protocol.UndefinedError) protocol String.Chars not implemented for %HTTPotion.ErrorResponse