data = {"lat": -39.809, "lon": -16.787, "model": "gfs", "parameters": ["wind"], "key": "abcd1234" } header = {"Content-Type" :"application/json"} s= requests.post("https://api.windy.com/api/point-forecast/v2", json = data, headers = header) print(s.text)