Skip to content

Releases: brianpilati/restful-api-wrapper-php

Added a getResponseBody method

03 Apr 00:50
Compare
Choose a tag to compare

Added a getResponseBody method

Added a method to the interface

02 Apr 18:25
Compare
Choose a tag to compare

Added a method to the interface

Sweetened the deal

02 Apr 18:15
Compare
Choose a tag to compare

Release for 100% coverage and code quality of 10!

Add more functionality regarding response headers

02 Apr 16:36
Compare
Choose a tag to compare

New Functionality

getHeaderLocation()
getHeaderResponseCode()

Add more functionality to make the library more universal

01 Apr 22:27
Compare
Choose a tag to compare

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

24 Mar 18:00
Compare
Choose a tag to compare

Improvements for Packagist and PSR-4

22 Mar 19:21
Compare
Choose a tag to compare

Improved the Library to be PSR-4 compliant and work better with Packagist.

Release version 1.0.0

22 Mar 04:06
Compare
Choose a tag to compare

Ready to launch