WeatherApi icon indicating copy to clipboard operation
WeatherApi copied to clipboard

Error trying to get data with PHP file_get_contents

Open jroman14 opened this issue 4 years ago • 0 comments

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?

jroman14 avatar Oct 26 '20 19:10 jroman14