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

    400 Bad Request from point forecast API

    Scheduled Pinned Locked Moved Developers
    4 Posts 3 Posters 1.8k Views 1 Watching
    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.
    • D Offline
      dhruvgami1989
      last edited by

      ![alt text](72b52820-7f93-4d95-9e11-eb45132a39e7-image.png image url)

      I tried post request using Postman and Python and I'm getting 400 Bad Request on both. I'm sorry if I'm missing something. Any help will be appreciated. Thanks!

      1 Reply Last reply Reply Quote 0
      • marekdM Offline
        marekd Windy Staff
        last edited by

        The content of the body has to be JSON. You are sending valid JSON format, but as a plain text (see the orange dropdown menu with the "Text" label...). Google usually helps... https://stackoverflow.com/questions/39008071/send-post-data-via-raw-json-with-postman

        1 Reply Last reply Reply Quote 0
        • D Offline
          dhruvgami1989
          last edited by

          Thanks a lot!

          1 Reply Last reply Reply Quote 0
          • satisfiedshoesS Offline
            satisfiedshoes
            last edited by

            @marekd the thread is 5 Years Old at stackOverflow does it help now? because a lot of discussion going on still no one find the atcual answer yet.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Windy Community  |  Powered by excellent NodeBB
            Terms of Use     Privacy Policy     Windy.com