TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Caio Kenup
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Caio Kenup

    @Caio Kenup

    0
    Reputation
    43
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Caio Kenup Unfollow Follow

    Latest posts made by Caio Kenup

    • Issue when passing URL as parameter

      I have the very simple trigger that runs

      curl [params]
      

      So I can make GET requests to a local address remotely via the triggerCMD API. (If you think this is a work around using localtunnel or ngrok, it is exactly that)

      My triggerCMD API request looks like this

      https://www.triggercmd.com/api/run/triggerSave?computer=<MY_COMPUTER>&trigger=curl&token=<MY-TOKEN>&params="http://localhost:4040/webhook/id?par1=1&par2=b&par3=temp"

      The request only passes the first argument (par1 = 1), making me think the "&" character is improperly interpreted, despite being between quotes.

      The curl command runs correctly through the terminal

      curl "http://localhost:4040/webhook/id?par1=1&par2=b&par3=temp"
      

      passing all three arguments, again adding weight to the possibility that the API call is doing something to URL when passed as parameter.

      Any insight on how I could get this to work would be greatly appreciated!

      posted in General Discussion
      C
      Caio Kenup