Back to Top
RESTask for Tasker Screenshot 0
RESTask for Tasker Screenshot 1
Free website generator for mobile apps; privacy policy, app-ads.txt support and more... AppPage.net

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.

Similar Apps

Tasker for Engineers

Tasker for Engineers

0.0

Tasker helps technical freelancers to get interesting tasks in the high-tech industry....

Pebblebee App

Pebblebee App

4.5

WHAT IS PEBBLEBEE?Pebblebee creates technology for peace of mind - We create...

Transact eAccounts

Transact eAccounts

2.8

For users at participating campuses and institutions, eAccounts mobile makes it easy...

Frequently Asked Questions(FAQ)

How can I opt in for beta testing of RESTask for Tasker?

You can opt in for beta testing by visiting the following link: https://play.google.com/apps/testing/com.freehaha.restask

Is Tasker required to use RESTask?

Yes, Tasker must be installed in order to use this application since it functions as a plugin for Tasker and does not provide a launcher icon.

Can variables be set synchronously or asynchronously in RESTask?

Yes, variables can be set synchronously or asynchronously. With the default sync setting, the task waits until the request is finished or timed-out before executing the next task and you can set the return code/response to local variables. In async mode, the task finishes immediately and works in the background, but you can only set global variables as local variables are not accessible to other tasks.

How can I enable setting global variables in async mode?

To enable global variable set in async mode, you need to enable 'Allow External Access' in Tasker. This can be done by going to the menu, selecting preferences, then going to miscellaneous and selecting 'Allow External Access'. Additionally, the return variables name should be global and have at least one capital letter.

How can I capture the returned code/response in async mode?

Since the request is performed asynchronously in async mode, the returned code/response might not be available immediately. To capture it, you can set an action to 'Wait Until' the variable 'is set'. However, make sure to clear the variable beforehand as these variables are global and will remain after tasks are finished.

Where can I find the cookies in RESTask?

The cookies can 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 be stored in the same variable separated by newlines.

Can I provide suggestions to improve the RESTask application?

Yes, you can leave comments or send an email with your suggestions to the developer for improving the application.
author
works wonderfully with my api, love it. quick simple setup, will get you making requests in no time!
Stephen Vanderwarker
author
like
Mossa Yiha
author
Excellent! Enables me to control my Wemo light switches from Tasker.
Joe Gariano
author
Unbelievably powerful; Tasker's built-in actions can't even compare! Specify custom headers (user-agent, refer[r]er, keep-alive, etc) and payloads to access even the most obtuse APIs. Use Chrome (desktop) to...
Dr. Evil Diet Coke
author
Great
Ivan Martinez
author
Great plugin for Tasker...My only request: update to material design!
Avi Parshan