TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    HTTP POST

    General Discussion
    3
    15
    4.5k
    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.
    • ?
      A Former User
      last edited by

      https://www.integromat.com has a good idea with their agent\app on the https://www.integromat.com/en/integrations/ios and even better on the Android https://www.integromat.com/en/integrations/android but with the flexibility of your solution and your automation focus, you would be a much more attractive all round management platform.

      @Russ said in HTTP POST:
      If you enable that feature on the agent itself rather than in the cloud, it would be secure by default. I'm thinking it should be a boolean flag on each command which would default to false, and like you said, the GUI should warn the user about turning it on.

      Yes this arguments functionality could work well at the time of agent deployment and it does sure up the security with the functionality being disabled by default and only enabled on a task by task basis on the agent. Maybe the warning should also point the user to an article online that helps them to understand the vulnerability they would be opening up. A boolean flag sounds good and simple.
      This would be a good strategery while access to agents via the cloud is still controlled by a key string.
      I would, however, suggest that all task initiation channels are checked and enabled and documented for arguments to be passed to each task so that the Task and local Command can use it. E.g. POST commands and Zapier... (after thought: that probably did not need to be said)
      This arguments functionality would revolutionise your solution with developers and automation specialists integrating your solution. I am one who would be using it in a production implementation right away.

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @A Former User
        last edited by

        @jgodney, yea I'm convinced - TRIGGERcmd should support an optional parameters text field for each command. I'll work on it.

        I'd never heard of Integromat. Now I want to setup an integration for that too.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • RussR
          Russ
          last edited by Russ

          Check this out.

          I opened my commands.json file in Notepad via the API using Postman. I'll publish a new agent version that will support parameters soon.

          ParamViaApi

          Russell VanderMey

          1 Reply Last reply Reply Quote 0
          • RussR
            Russ
            last edited by Russ

            It's ready. Please give it a try. I put some details in this accouncement and this IFTTT article. More to come - like passing parameters from Zapier.

            Thanks for this suggestion - this is really cool. I just setup an IFTTT trigger to display any pictures I add to a Google Photos album.

            Russell VanderMey

            1 Reply Last reply Reply Quote 0
            • Josiah RichardsJ
              Josiah Richards
              last edited by

              Apologies on posting to such an old thread!
              I'm having trouble getting this to fire via integromat http request.

              Any tips?

              Error getting when adding Header--

              Authorization: [token]

              {"err":"Format is Authorization: Bearer [token]"}
              

              If I use: Authorization: Bearer [token]

              I get this error--

              Header name must be a valid HTTP Token ["Authorization: Bearer"]
              
              1 Reply Last reply Reply Quote 0
              • Josiah RichardsJ
                Josiah Richards
                last edited by

                Nvm! Figured it out!

                RussR Josiah RichardsJ 2 Replies Last reply Reply Quote 0
                • RussR
                  Russ @Josiah Richards
                  last edited by

                  @Josiah-Richards, if you don't mind, what were you doing wrong at first? I ask because other user's might have the same problem and I could probably improve that API error response.

                  Russell VanderMey

                  1 Reply Last reply Reply Quote 0
                  • Josiah RichardsJ
                    Josiah Richards @Josiah Richards
                    last edited by Josiah Richards

                    @Russ said in HTTP POST:

                    @Josiah-Richards, if you don't mind, what were you doing wrong at first? I ask because other user's might have the same problem and I could probably improve that API error response.

                    Not a problem! Basically, when using the HTTP Make a request module in Integromat ― make the header name "Authorization" and the Value MUST include Bearer + [token].

                    Example:

                    Name: Authorization
                    Value: Bearer 123456789etctoken

                    chrome_fty8adQEt0.png

                    RussR 1 Reply Last reply Reply Quote 0
                    • RussR
                      Russ @Josiah Richards
                      last edited by

                      Thanks @Josiah-Richards, that helps.

                      Also BTW, your screenshot didn't work for me because I don't have access to it. You can actually copy/paste a screenshot into your post.

                      Russell VanderMey

                      Josiah RichardsJ 1 Reply Last reply Reply Quote 0
                      • Josiah RichardsJ
                        Josiah Richards @Russ
                        last edited by

                        @Russ Edited! Thanks!

                        RussR 1 Reply Last reply Reply Quote 0
                        • RussR
                          Russ @Josiah Richards
                          last edited by

                          @Josiah-Richards and @jgodney, please be aware, there's an official Integromat integration now.

                          Russell VanderMey

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