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

    Trying to use Http Request with Automagic for android to do some task but I can get it to work.

    General Discussion
    2
    3
    393
    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.
    • Noah NaumanN
      Noah Nauman
      last edited by

      I have some HTTP request working with fine with Tasker on my to do some things for me. I want to use some of these request with Automagic for Android so I can have some shortcuts on my wear os watch. I have the task in tasker setup with following which works perfectly:

      Method:
      Post
      URL:
      https://triggercmd.com/api/Tasker
      Query Parameters:
      trigger:Turn On Computer
      computer:HomePi
      token:(My token)

      How do I move this HTTP request to Automagic?

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

        @Noah-Nauman, are you trying to use this?

        https://automagic4android.com/trigger_http_request_en.html

        If so, it looks that doesn't make a request to external sites like TRIGGERcmd's API. That feature seems to request something on your own phone. It gives these examples:

        • Send an SMS from your Phone using your PC when the URL http://192.168.1.XX:8080/sms?receiver=12345&text=test is requested.
        • Return a page with the list of files on the SD card when the URL http://192.168.1.XX:8080/files/xyz is requested.

        But, if Automagic can do a request to an external site, here's a simple URL format for a GET request:

        https://www.triggercmd.com/api/run/triggerSave?computer=HomePi&trigger=Turn On Computer&token=(token)

        Russell VanderMey

        Noah NaumanN 1 Reply Last reply Reply Quote 1
        • Noah NaumanN
          Noah Nauman @Russ
          last edited by

          @Russ got it to work (spaces need %20 in names for anyone looking this up in the future).

          Thanks a million. So cool to use commands on my fossil

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