Need help translating from tasker

Post your questions and help other users.

Moderator: Martin

Post Reply
Mgmcderm
Posts: 4
Joined: 09 Jan 2017 03:19

Need help translating from tasker

Post by Mgmcderm » 24 Jan 2017 00:21

I feel like I barely know what I'm doing, but I found a tasker example I want to follow. I understand the variables, but don't know how to convert to automagic. I think HTTP request is the right action, but from what I can see, the help pagedoesn't match the form. I'm not sure whether to put the contents of what is a return-separated list in the header field as return-separated or comma separated. I also don't see how to define the port that is specified in the tasker form.

Thanks
Attachments
Screenshot_20170123-175736.png
Tasker example.
Screenshot_20170123-175736.png (236.75 KiB) Viewed 5974 times

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Need help translating from tasker

Post by Martin » 24 Jan 2017 21:07

Hi,

You can use an action HTTP Request to send a HTTP GET request. You can enter host, port, path and parameters directly in the URL field and change Request Method to GET.
Please note that variables might need to be properly escaped. Use menu->Variables to select the variable and use {encodeURL(variable_name)} or {encodeURLForm(variable_name)} to escape special characters.

Regards,
Martin

Post Reply