🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to use HTTP GET in uiflow2 for simple json fetch

    Scheduled Pinned Locked Moved UiFlow 2.0
    3 Posts 3 Posters 2.2k Views
    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.
    • X Offline
      xrayspex
      last edited by

      How does the data get put in to json variable/map?

      I've looked all over, searched forums, no luck.

      Seems different from uiflow1, and can't find any docs.

      Uiflow2 diagram might help.

      Thanks

      60095ff2-af4a-4165-9b6f-ec3fafa77372-image.png

      lbuqueL 1 Reply Last reply Reply Quote 0
      • lbuqueL Offline
        lbuque @xrayspex
        last edited by

        @xrayspex https://uiflow-micropython.readthedocs.io/en/latest/software/requests2.html

        1 Reply Last reply Reply Quote 0
        • P Offline
          peolsolutions
          last edited by

          To use HTTP GET in uiflow2 for fetching JSON, use the "HTTP Request" block. Set the method to "GET" and provide the URL of the API. Then, process the response with a JSON block to parse the data.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post