README.md in api_client-0.5.12 vs README.md in api_client-0.5.13
- old
+ new
@@ -119,9 +119,16 @@
Allows setting headers in the request. Useful when you need to add a token
as the header
It returns a ApiClient::Scope object attached to a class you started with.
+* ApiClient::Base.raw_body(body = nil)
+
+ Allows setting non-hash body in the request. Useful for binary payloads.
+ Notice: it overrides all parameters set via params method!
+
+ It returns a ApiClient::Scope object attached to a class you started with.
+
All of these methods return a ApiClient::Scope object. When you call any request
methods on this object (get, post, put, delete), the request will apply the
options, params and headers.
### Examples