RESTask for Tasker

RESTask for Tasker Free App

Rated 4.34/5 (188) —  Free Android application by Freehaha

Advertisements

About RESTask for Tasker

Opt in for beta testing: https://play.google.com/apps/testing/com.freehaha.restask

This is a Tasker plugin providing alternative interface to access RESTful APIs (targeting GET, POST, PUT, DELETE).

This app is intended to work as a plugin to Tasker and does not provide a launcher icon so one must have Tasker installed in order to utilize this application.

*README*
Variables can be set synchronously or asynchronously.

With the default sync setting, the task will wait until the request is finished or is timed-out before executing the next task and you will be able to set the return code/response to local variables. Note that in synced mode you can only set local variables, i.e., variables with all lower-cased letters, this is a limitation of tasker API.

However, in async mode, the task will finish immediately and work in the background so you will not be able to set local variables in it (you can still use local variables for the parameters and stuff). With this mode, you can only set global variables as local variables will not be accessible to other tasks. Following is how to enable setting global variables in async mode:

1. To enable global variable set, you have to enable 'Allow External Access' in Tasker ( menu -> preference -> misc -> Allow External Access')

2. Return variables name should be global (with at least one capital letter) because it is set asynchronously in a different task and will not be accessible if it is set as a local variable.

3. Since the request is performed asynchronously, returned code/response might not be available immediately. If you want to capture the returned code/response, you can set an action to 'Wait Until' the variable 'is set'. But remember to clear the variable beforehand because these variables are global and will remain after tasks finished..
---
Cookies

The cookies will be found in the %hdr_set_cookie variable if your response header variable prefix is set to %hdr. If there are multiple Set-Cookie headers they will stored in the same variable separated by newlines.
---
Feel free to leave comments or send email to me if you have any suggestions to improve this application.

Special thanks to Arno Puder for helping me test the app.

How to Download / Install

Download and install RESTask for Tasker version Varies with device on your Android device!
Downloaded 10,000+ times, content rating: Everyone
Android package: com.freehaha.restask, download RESTask for Tasker.apk

All Application Badges

Free
downl.
Bug
buster
For everyone
Android app

App History & Updates

What's Changed
1.4.6
Fix the malformed response and a potential bug that might cause it to crash when no response is available.
* I don't check reviews very often so the best way to make requests/reports or get support is to email me directly, thanks.
More downloads  RESTask for Tasker reached 10 000 - 50 000 downloads
More downloads  RESTask for Tasker reached 5 000 - 10 000 downloads
More downloads  RESTask for Tasker reached 1 000 - 5 000 downloads

What are users saying about RESTask for Tasker

S70%
by S####:

Works great! I have spend a lot of time to figure out the buildin http post function, but RESTask just done it in one minutes! Thank you!

S70%
by S####:

%rtres and %rtcode are not being set from the API call on my nexus 6 running marshmellow. however, they are being set on my moto x running 5.1.

S70%
by S####:

This app works fine with marshmallow but not with nougat.

L70%
by L####:

Does everything I need, best way I know of to get custom headers in HTTP requests

K70%
by K####:

Works well for GET, allowing setting headers which the standard tasker GET doesn't. However, I can't set a json string as the post body for a application/json request, the app forces key-value pairs.

C70%
by C####:

((Great Plugin))

Q70%
by Q####:

With the latest update my tasks broke, bexause of garbled output, hopefully fixed soon!

D70%
by D####:

Applies to this app only. Now unusable.

D70%
by D####:

I had to change my PUT to POST, now they work again

T70%
by T####:

Very handy add on, wish it would be automatically wrapped in apps when created. Also can't seem to make it work with the address assigned thru a variable. Edit: I should be more clear. It works when replacing the entire url but I would like to replace part of a url. Example "%Url/setpoints". Either way I appreciate your app, it helped me mock up a working app fairly quickly but I have since replaced all the functions in javascript for more customization and automatic inclusion in the app.

Q70%
by Q####:

I have a post task that was working fine up until a few weeks ago. Now, sometimes it works, but I usually just get a 'Restask has stopped error'. 5 stars when it actually worked.

Q70%
by Q####:

UPDATE. changing all my GET to POST fixed my issue.

B70%
by B####:

My interface with hue was completely built using this app. It's great. But it updated today and now nothing works.

L70%
by L####:

This app came to the rescue when I needed to integrate tasker with smartthings rest endpoints, which required sending bearer tokens, and now I can control my switches with voice.

Q70%
by Q####:

The solution to getting Tasker to work with your internet of things devices! Works great! No issues from me.

Y70%
by Y####:

Works great!

U70%
by U####:

Fixed! works great. Thanks

Q70%
by Q####:

works great!

E70%
by E####:

Best solution for home automation with Tasker. Thanks to custom http headers and saving response to variable, it helped me to implement Sonos volume control. I can send volume command to playbar and get instant numeric value feedback. If you don't care for feedback, Macronos will be easier to setup.

Q70%
by Q####:

Changing rating as self signed certificate was added thanks! Now it's great

Q70%
by Q####:

Works like a charm and the developer does a great support. Note to the developer: there is weird behaviour on the settings window I couldn't reproduce consistently, related to it losing the header and params data when I change the HTTP method or URL

Q70%
by Q####:

I used this to talk to Toggl. Works much better than Tasker's built-in HTTP calls.

Q70%
by Q####:

Exactly what I needed for some more advanced Tasker REST tasks.

Q70%
by Q####:

This review is mostly about the developer, as the tool works perfectly and gets it's own 5 stars. I was having trouble with a specific API and getting a bearer authentication token to work. This developer bent over backwards and even set up his own test API to ensure that I got mine working. Couldn't be happier with the level of service. 5 stars is not enough. Thanks so much John!

C70%
by C####:

Works perfectly and makes the concept of home automation through tasker a reality.

C70%
by C####:

I have self signed certificate so it doesn't work for me doh. Saw that in another comment too hopefully it can be added.

C70%
by C####:

I take it back, this plugin has everything I need! I'm currently using it to PUT data from Tasker to my Firebase in realtime. Awesome!

T70%
by T####:

I have a custom/self-signed cert installed for apache and it would be nice to have a checkbox that just ignores the certificate.

R70%
by R####:

Thanks! This made it possible to post to the Spark Core API (something that Tasker was struggling to do with its built in Http Post task). Cheers.

X70%
by X####:

Best solution for home automation with Tasker. The only solution, which allowed me precise control of Sonos and easy integration with other tasks. Some directions would be nice(e.g. content-length is auto calculated or if wrong causes broadcast error), but the app is free so can't complain. There should be support development version as it is a great plugin.

X70%
by X####:

This is a dream come true for the automation addict building their own REST server and using others (like Weather Underground) as well. Thanks so much!

N70%
by N####:

Was feeling down and out about tasker/autoremote being all buddy buddy with (windows only) eventghost... But this app pretty much blows the door wide open if you have the time to roll your own REST server. I'm a big fan of Bottle for Python ftw.


Share The Word!


Rating Distribution

RATING
4.35
188 users

5

4

3

2

1