library httpclient
httpclient components for get/post/put/delete request
joinww/httpclient
httpclient components for get/post/put/delete request
- Tuesday, November 22, 2016
- by joinww
- Repository
- 1 Watchers
- 0 Stars
- 9 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
httpclient
HttpClient is a sample components for connect url
#
#
#
How to use
require_once 'path/vendor/autoload.php';
$httpClient = new HttpClient\Client();
$response = $httpClient->get($url);
var_dump($response->getBody());
$url = 'http://127.0.0.1/tests/post.php';
$params = ['wd'='php'];
$cookies = ['st'=>1,'ad'=>1];
$response = $httpClient->post($url,$params,$cookies);
var_dump($response->getBody());
dev-master
9999999-dev
httpclient components for get/post/put/delete request
Sources
Download
The Requires
by
joinww
0.0.1
0.0.1.0
httpclient components for get/post/put/delete request
Sources
Download
The Requires
by
joinww