mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
fix multipart request syntax
see https://github.com/archiloque/rest-client/blob/master/lib/restclient/payload.rb#L15
This commit is contained in:
parent
4e5bd4893a
commit
e0422bcfa7
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ This does two things for you:
|
|||
|
||||
If you are sending params that do not contain a File object but the payload needs to be multipart then:
|
||||
|
||||
RestClient.post '/data', :foo => 'bar', :multipart => true
|
||||
RestClient.post '/data', {:foo => 'bar', :multipart => true}
|
||||
|
||||
== Usage: ActiveResource-Style
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue