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:
parent
ec40fb7e7a
commit
0a9d41e41e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue