I'm working on proxy based machine where I've configured my proxy settings at settings.php and its working fine.
When I'm trying to access a URL the data is getting displayed perfectly, for instance, https://maps.googleapis.com/maps/api/geocode/json?address=California but when I'm doing the same thing at my devel/php
$maps_url = 'https://maps.googleapis.com/maps/api/geocode/json?address=California';
$maps_json = drupal_http_request($maps_url);
dsm($maps_json);
I've confirmed 2 settings in my php.ini:
- allow_url_fopen
- allow_url_include
Where else should I look so that this issue will get fixed?
data
property of the response and theheaders
, this should help you narrow it down. For example, I don't see the API key (you may have omitted it). That could result in an error.