Releases: brianpilati/restful-api-wrapper-php
Releases · brianpilati/restful-api-wrapper-php
Added a getResponseBody method
Added a getResponseBody method
Added a method to the interface
Added a method to the interface
Sweetened the deal
Release for 100% coverage and code quality of 10!
Add more functionality regarding response headers
New Functionality
getHeaderLocation()
getHeaderResponseCode()
Add more functionality to make the library more universal
Default Content-Type
The default Content-Type is application/json
To change the default Content-Type
$restful->setContentType(<newContentType>);
Default URL Path Configuration and Authentication
The default URL Path is <baseURI>/<paht_to_data>/<token>/
If you need to add a special configuration to the URL path
$restful->setPathConfiguration(<newPathConfiguration>);
Header Authentication
To set the authentication in the header request
$restful->setHeaderProperty('<name_of_property>');
The full header property will be
'<name_of_property>: <token>'
Fixed some problems
Improvements for Packagist and PSR-4
Improved the Library to be PSR-4 compliant and work better with Packagist.
Release version 1.0.0
Ready to launch