简体   繁体   中英

Google Places API without HTTPS

I am having problems sending requests to the Google Places API because my machine is behind a proxy with authentification. I successfully worked around this in the past by using a context when sending http requests from PHP. I have trouble getting this to work with HTTPS from Google places and the easiest way would be to just use HTTP.

I cannot find the link for the HTTP API. The basic URL for requests is: https://maps.googleapis.com/maps/api/place/search/output?parameters

(source: http://code.google.com/apis/maps/documentation/places/ ).

I am looking for a way to connect to this API without using https. Just using http://maps.googleapis.com/maps/api/place/search/output?parameters results in a 404.

Thanks, David

You should write 'json' or 'xml' instead of 'output' in url.

like http://maps.googleapis.com/maps/api/place/search/json ?..

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM