Skip to content

RailsGuy/PHP-REST-Client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP REST Client

(c) 2014 Roman Piták, http://pitak.net [email protected]

Representational state transfer PHP client library.

Basic Usage

<?php

$client = new Client('http://api.example.com/v2/'); // Use the client to store general settings

$request = $client->newRequest('hello-world.json'); // Returns a Request object

$response = $request->getResponse(); // Returns a Response object

$content = $response->getParsedResponse(); // Returns the response body as a string

?>

About

PHP REST client library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%