🤖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

    UiFlow 2.0
    3
    3
    405
    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
      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
        lbuque @xrayspex
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • P
          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
          • First post
            Last post