A simple Android app that allows you to create shortcuts that can be placed on your home screen. Each shortcut, when clicked, triggers an HTTP request.

Get it on Google Play

Get it on the Play Store or download the latest APK directly. Or become a Beta Tester!

This app is open-source and can be found on Github.

Check out the forum if you have questions, bug reports or feature requests.

Features

Code Execution

When a shortcut is executed, it is possible to run JavaScript code snippets before or after execution. You'll find more information here.

FAQ

This app is free and contains no ads. What's the catch?

There is no catch. I'm a developer who one day realized he needed an app like this, built it, and then decided to share it. HTTP Shortcuts is essentially a one-man show, and I'm only working on it in my spare time. I'm doing it because I enjoy the project, which is why the app is completely free and will remain so. No ads, no tracking, no premium features, just a simple open-source app that aims to be useful.

I've sent an email with a question / bug report, but haven't heard back anything. What gives?

As mentioned in the previous question, I'm just one guy developing this app in my free time. As such, I don't regularly read my emails or respond to them right away. Sometimes it may take weeks. Sorry about that. Most likely I'll get back to you eventually. Please be patient with me.

Running shortcuts works from within the app, but not from the homescreen. How do I fix it?

This usually happens when Data Saver or Battery Saver is enabled, as those restrict how apps can use the network. Try disabling them or whitelisting the HTTP Shortcuts app.

I don't like the blue globe icon that overlays all my shortcuts on the home screen. Can I remove it?

Unfortunately, this icon overlay is added by the Android system itself, not the app. There is a potential workaround though. Try adding a shortcut via your home screen's widget menu (usually accessed by long pressing on the home screen), and when prompted by the app about which method to use for placement, select the "Legacy" option. Please note that this may not always work, and if it doesn't then there really is no way to remove the icon overlay.

Can I send multiple requests with one shortcut?

Not directly. A shortcut corresponds to a single request. You can, however, have one shortcut trigger another shortcut through the use of the "triggerShortcut" action. When editing your shortcut, open the section "Post-Request Actions" and then click the button "Add Code Snippet" underneath the "Run on Success" textarea. In the dialog that opens select "Actions" and then "Trigger Shortcut". In the code snippet that is inserted include the name of the shortcut you want to trigger. This way, whenever you run your first shortcut, it will trigger the other one after it completed. See Code Execution for more information.

How do I pass variables from Tasker to HTTP Shortcuts?

You can use Tasker to trigger a shortcut. To pass a value from Tasker to HTTP Shortcuts you need to create a variable of type "Constant" in HTTP Shortcuts and a global variable with the same name in Tasker. Make sure to do so BEFORE you select the shortcut from Tasker. All global variables that have matching variables in HTTP Shortcuts are automatically passed over.

What about voice recognition?

There is currently no support for voice recognition in HTTP Shortcuts, with the exception of a very basic and experimental feature. Try "OK Google, search [Name of Shortcut] in HTTP Shortcuts".

I would like to help translate the app. How can I contribute?

First of all, thank you for even considering this. I appreciate the effort. Inside the app's settings, you'll find a button "Translate App". Use it to send me an email, and I'll eventually get back to you with more details. Please include your name, Github URL and the language you'd like to translate into in the email.

Is this app also available on iOS?

No, this app only exists for Android. I have only very little experience with iOS development, and I'm not exactly a fan of the platform. Therefore, as I only work on this project in my free time anyway, I'm currently and probably also in the far future not looking into porting the app to iOS.