HTTP 快捷方式
F-Droid版
6
下载
0
讨论
22
收藏
F-Droid版采用F-Droid公版签名
photo_library 应用截图
new_releases 更新日志
改进
现在您可以配置应用,使其定期将所有快捷方式导出到文件或 URL,或从文件或 URL 导入。此功能位于“导入/导出”界面。
静态变量可以标记为“秘密”,这可确保在编辑变量时其值不会显示
密码输入框现在默认隐藏密码,但可通过切换显示
自定义图标界面现显示更大的图标,并在每个图标后添加背景,以便在图标颜色与界面背景相同的情况下更易于辨识
在脚本编写中,现可使用 shortcut.icon 和 shortcut.canonicalIcon 查询当前快捷方式的图标
新增了额外规则,以尝试在导入时保留快捷方式的顺序
错误修复
修复了使用带文件参数的快捷方式时导致网页编辑器崩溃的错误
修复了“设置”界面中复选框的禁用状态
其他
“事件历史记录”现可显示长达 7 天的事件,而非仅 12 小时
vibrate() 函数的文档现已正确列出了可用的振动模式
description 应用介绍
Submit HTTP Requests from Shortcuts on your Home Screen
Place shortcuts (widgets) on your home screen to submit HTTP requests to all your favorite RESTful APIs, webservices and other URL resources. Great for home automation projects!
• HTTP and HTTPS
• GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS and TRACE
• Basic Authentication, Digest Authentication, Bearer Authentication & Client Certificate Authentication
• Custom request headers
• Custom request body (text only)
• Upload files as form-data or request body
• Support for HTTP proxies
• Support for self-signed certificates
• Built-in icons, support for custom icons or using a site's favicon
• Display response as a toast, window or dialog, or run silently
• Grouping into categories through tabs
• Value injection through variables (e.g., text, numbers, passwords, selections, colors, dates, …)
• Run arbitrary JavaScript before & after execution, including special actions, such as (but not limited to):
• show dialogs
• show toasts
• prompt for user input (e.g. asking for dates, passwords, text, ...)
• parse JSON or XML responses
• compute HMAC
• store values into global variables for later use
• vibrate
• play notification sounds
• send TCP or UDP packets
• send MQTT messages to a broker
• wake-on-lan
• send Android intents
• trigger Tasker tasks
• read QR code (via 3rd party app)
• read current physical location
• Import & Export in JSON or cURL format
• 3rd party integration (e.g. Tasker)
• Dark Mode support
Some ideas what to use HTTP shortcuts for:
• Execute a script on your web server
• Control your home automation system and IoT devices
• Interact with your RaspberryPi and Arduino tinkering projects
• Automate workflows
Find it on Github: https://github.com/Waboodoo/HTTP-Shortcuts.
Or visit the official website for documentation: https://http-shortcuts.rmy.ch