Trying to use Http Request with Automagic for android to do some task but I can get it to work.
-
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?
-
@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:
-
@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