PHP Requests Library within Codeigniter

前端 未结 5 2476
孤独总比滥情好
孤独总比滥情好 2021-02-20 06:52

I\'m using the requests library (http://requests.ryanmccue.info/) for PHP.

I installed composer and added the following Json configuration in composer.json

5条回答
  •  滥情空心
    2021-02-20 07:32

    HTTPFUL is the best library after I have been through several http mechanisms (some of my own :) ), i found this one is very useful. http://phphttpclient.com/

    and it includes

    Readable HTTP Method Support (GET, PUT, POST, DELETE, HEAD, and OPTIONS)
    Custom Headers
    Automatic "Smart" Parsing
    Automatic Payload Serialization
    Basic Auth
    Client Side Certificate Auth
    Request "Templates"
    

提交回复
热议问题