file_get_contents_curl pulling wrong values

The usage of curl in PHP is not considered good practice in WordPress. It comes with HTTP API to abstract network requests.

It will use curl when available, but still work via other backends if it’s not and allow you to use WP debug plugins to troubleshoot requests, such as Core Control.