Recently, one of our service providers sent this update to their service:
using the HTTP 1.0
protocol:
API calls will return HTTP/1.0 400 Bad Request
... should update their code to HTTP 1.1
and include the Host header in the API request.
Does PHP's file_get_contents()
do all that by default?