• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Retrieving data using cURL

    Mango Automation general Discussion
    2
    4
    1.9k
    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.
    • M
      mlavelle42
      last edited by

      Any suggestions how to use cURL to retrieve data? I can't get it to won't work within HTTP Retriever. The cURL string is long - 227 characters. HTTP Retriever is the logical way to grab the data.

      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi mlavelle,

        I'm not sure I understand. If you are trying to invoke curl, you could do that through the SSH data source, or have a cron run the curl command and save the output to a file, which could be read from Mango in a few ways.

        Can you describe the problem you're having with the HTTP Retriever a little more?

        1 Reply Last reply Reply Quote 0
        • M
          mlavelle42
          last edited by

          You've given me some ideas. What options are available within Mango to read a file?

          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by

            ASCII File is the simplest (line by line regex). SSH can read files too. The Data File data source can import files whole.

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