Copied from: https://github.com/IMSGlobal/caliper-php/issues/126#issuecomment-226624750
I've recently learned that Guzzle is a popular HTTP client library for PHP: http://guzzlephp.org/
This package has a lot of nice features, including:
- Simple interface for building query strings, POST requests, streaming large uploads, streaming large downloads, using HTTP cookies, uploading JSON data, etc...
- Can send both synchronous and asynchronous requests using the same interface.
- Uses PSR-7 interfaces for requests, responses, and streams. This allows you