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.

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 1.2k Views 1 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.
    • Noah NaumanN Offline
      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 Offline
        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 Offline
          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

          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