monkey92/httpclient

easy for get&post

Installs: 66

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Open Issues: 1

Type:lib

pkg:composer/monkey92/httpclient

v1.1.1 2016-05-16 07:18 UTC

This package is not auto-updated.

Last update: 2026-01-04 01:13:07 UTC


README

download

	composer require monkey92/httpclient

how to use

	use Monkey92\HttpClient;
	$httpUtil = HttpUtil::getInstance();
	//get
	$get_ret = $httpUtil->doGet('http://www.domain.com/user?id=1');
	//post
	$post_ret = $httpUtil->doPost('http://www.domain.com/save_user',['name'=>'Tom','age'=>100]);