64
GitHub - cuijiji/jijihttpclient: iji make a http client
source link: https://github.com/cuijiji/jijihttpclient
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
jijihttpclient
jiji make a http client
Installation & loading
jijihttpclient is available on Packagist (using semantic versioning), and installation via Composer is the recommended way to install jijihttpclient. Just add this line to your composer.json
file:
"jiji/http": "^1.1"
or run
composer require jiji/http
A Simple Example
<?php require __DIR__."/../vendor/autoload.php"; class Test{ public function __construct() { $client = new \Jiji\Http\Client(); $client->get("https://www.apiopen.top/weatherApi", ['city'=>'成都']); } } new Test();
License
Licensed under the MIT license
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK