Maj Library

This commit is contained in:
EoleDev 2016-03-23 15:30:47 +01:00
parent 0dc17aa9ef
commit 54ec6723de
72 changed files with 525 additions and 455 deletions

View file

@ -24,7 +24,7 @@ $res = $client->request('GET', 'https://api.github.com/user', [
]);
echo $res->getStatusCode();
// 200
echo $res->getHeader('content-type');
echo $res->getHeaderLine('content-type');
// 'application/json; charset=utf8'
echo $res->getBody();
// {"type":"User"...'