Doing a regular file_get_contents with gist API will return forbidden to allow the connection the user agent should be passed with the request.

Copy to Clipboard