Created
July 14, 2019 11:47
-
-
Save ovr/1f7f328f15c1a666bb3885176e2a86ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$client = new SimpleClient( | |
new HttpStack( | |
new \Zend\Diactoros\RequestFactory(), | |
new \Zend\Diactoros\StreamFactory() | |
) | |
); | |
$request = $client->createRequest('GET', 'https://api.github.com/users/ovr'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment