Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    GFS data using API problem

    Windy API v4
    1
    1
    320
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Waqas SaleemW
      Waqas Saleem
      last edited by

      I'm trying to get gfs data to be integrated in openlayers map but I;m getting 500 status code with resp: We are sorry, but something broke. Here is my code

      var data = {
      "lat": 49.809,
      "lon": 16.787,
      "model": "gfs",
      "parameters": ["wind", "dewpoint", "rh", "pressure"],
      "levels": ["surface", "800h", "300h"],
      "key": "API KEY"
      };
      $.ajax({
      method: "POST",
      contentType: "application/json",
      url: "https://api.windy.com/api/point-forecast/v2",
      dataType: 'json',
      data: data
      })
      .done(function(msg) {
      console.log(msg);
      });

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
      NodeBB & contributors, OSM & contributors, HERE maps
      Terms of Use     Privacy Policy