Hi,
I trying to get query with file_get_contents but reicieve a 400 error. But if I put the url in browsers works ok.
https://weather.visualcrossing.com/VisualCrossingWebServices/rest/services/weatherdata".
"/forecast?unitGroup=metric&aggregateHours=24".
"&location=41.7333,1.8333&key=KEY
&contentType=json&locationMode=single
Where is the problem?