ArtaxServiceBuilder
ArtaxServiceBuilder copied to clipboard
Creates a library to consume an API from a Guzzle-like service description.
So in the test flickr service there is a param which is set: - by default. - by the api. But because it has a default, it isn't being set...
e.g. right next to: ``` This Composer Repository is proudly powered by Satis ```
E.g. for uploading files to Amazon s3 we need to be able to set a Content-MD5 header to increase data integrity. http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUT.html
We need to be able to upload files directly from disk - rather than loading them into memory first.
you can filter params in Guzzle like: ``` { "filters": [ "strtolower", { "method": "MyClass::convertString", "args": [ "test", "@value", "@api" ] } ] } ``` Which would pass to the...
and the setting to make them optional is `'required' => false` not `'optional' => false`.