Closed
Description
The following code:
data = { post: { body: "hello" } }
Browser::HTTP.post url, data do |request|
# ...
end
… generates these POST params (inside a Rails app): {"post"=>"{\"body\"=>\"hello\"}
(note the inner hash is actually a string). I couldn't figure out how to get this working, so I decided to open an issue. Feel free to let me know if I'm just plain doing it wrong. :-)