Page 1 of 1

Need help translating from tasker

Posted: 24 Jan 2017 00:21
by Mgmcderm
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

Re: Need help translating from tasker

Posted: 24 Jan 2017 21:07
by Martin
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