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

    HTTP Block Gives Error

    UIFlow
    4
    5
    11.0k
    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.
    • R
      rupin.chheda
      last edited by

      How do you get started with the HTTP block? I cant do simple http requests like fetching a page from google.
      0_1570103593919_289ba94c-1742-46d7-b17d-e1e4413e6354-image.png

      My Firmware version is 1.3.2. The UI Flow version is the stable one.

      Please advise how to solve this issue.

      1 Reply Last reply Reply Quote 0
      • MatiM
        Mati
        last edited by Mati

        go in this way
        0_1570543604093_76da9dc4-61db-4a4e-8ca7-e03d1976ef77-image.png

        Just get json format from blockchain and decode what you need ;)

        Enjoy

        SRC:
        https://blockchain.info/ticker

        1 Reply Last reply Reply Quote 0
        • G
          GLP
          last edited by

          Hello, i'm a beginner of UIFlow and M5Stack, just tried to parse json from this example code, but doesn't work for me, no json node extract, so compare Failed message. I'm able to download whole json data with the command LCD.Print GET DATA. Someone has success with json code samples?

          Thanks in advance

          0_1598188724538_json_error.JPG

          world101W 1 Reply Last reply Reply Quote 0
          • world101W
            world101 @GLP
            last edited by

            @glp Here you go. Slightly modified version of yours.
            0_1598271097767_Screen Shot 2020-08-24 at 8.11.27 AM.png

            G 1 Reply Last reply Reply Quote 0
            • G
              GLP @world101
              last edited by

              @world101 sorry for delay on answering. Many thanks it works as expected! In the meanwhile i tried with upython language also to manage more complex json structures.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post