terah/rest-client

PHP 客户端库,用于 Restful 服务。


README

这是用于 Restful 服务的 PHP 客户端库。此文档已过时,需要更新。

用法


use Prism\ApiClient\RestClient;

// The url to the web service that you are interacting with
$webServiceUrl = 'http://example.com:8080/api/v1.0/';
// Your api key
$yourApiKey 		= 'qwerqwer-qwerqewr-qwerqwer-qwerqwer';



测试

$ phpunit

贡献

如果您想做出贡献,请发送电子邮件到 uqcullen@uq.edu.au。

安全

如果您发现任何安全相关的问题,请发送电子邮件到 uqcullen@uq.edu.au,而不是使用问题跟踪器。

鸣谢

许可

MIT 许可证 (MIT)。有关更多信息,请参阅 许可文件