PHP Get Content of HTTP 400 Response

You have to define custom stream context (3rd argument of function file_get_contents) with ignore_errors option on.

Leave a Comment