Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    newbe question: how to test api form HTML form?

    Developers
    3
    1
    112
    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.
    • Zhou Zola
      Zhou Zola last edited by

      Dear whom read this message,
      I curious on how windy API works, wish to track typhoon path, I did applied a Point Forecast API and follow the documentation to do query via post method by HTML form. But it failed everytime, API endpoint told me "Invalid request - "key", "model", "lat", "lon" or "parameters" are missing"

      anyone can tell me the reason? is there any other sample code to test API ? PHP or SHELL are fine to me.Thank you in advance.

      below are my code, I am not professional developer. for security reason I added underline in API key in my sample code, I will revoke this API if test passed 2022-08-24 (3).png

      screenshot for your reference: 2022-08-24.png

      post failed: 2022-08-24 (2).png

      1 Reply Last reply Reply Quote 0
      • undefined  idefix37 idefix37 
      • 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