1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Clarify manual params instructions.

This commit is contained in:
Andy Brody 2016-05-14 10:57:37 -07:00
parent ec40fb7e7a
commit 0a9d41e41e

View file

@ -391,7 +391,8 @@ but treats empty arrays and hashes as `nil`. (Rack drops them entirely, which
is confusing behavior.)
If you don't like this behavior and want more control, just serialize params
yourself (e.g. with `URI.encode_www_form`) and pass them as a string.
yourself (e.g. with `URI.encode_www_form`) and add the query string to the URL
directly for GET parameters or pass the payload as a string for POST requests.
Basic GET params:
```ruby