1
0
Fork 0
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:
Giovanni Cappellotto 2011-10-24 19:17:18 +03:00
parent 4e5bd4893a
commit e0422bcfa7

View file

@ -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