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

    HTTP Block Gives Error

    Scheduled Pinned Locked Moved UIFlow
    5 Posts 4 Posters 12.7k Views 2 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.
    • R Offline
      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
      • OyczEO Offline
        OyczE
        last edited by OyczE

        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 Offline
          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 Offline
            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 Offline
              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

              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