Created
July 16, 2016 14:26
-
-
Save pboethig/b1426f7a72823f3ce61622b7b3981515 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
require __DIR__ . '/vendor/autoload.php'; | |
$client = new \GuzzleHttp\Client(); | |
$response = $client->post('http://localhost:8000/api/user'); | |
echo $response->getBody(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment