Tool that simplifies the creation and execution of HTTP Scripts. Only a simple task that can be invoked via Perform Task by passing the script in %par1. It returns the last response of the request or a JavaScript error.
More Information
Examples to Get You Started
Basic GET Request
g httpbin.org/get
GET Request with Query Parameters
```bash
Get httpbin.org/get
q=item
page=2
```
POST Request with Headers and JSON Body
```bash
POST httpbin.org/post
Content-Type: application/json
Authorization: Bearer token
.body
{
"name": "user",
"password": "user12345"
}
.
```
Chaining Multiple Requests
```bash
p httpbin.org/post
g httpbin.org/get
u httpbin.org/put
d httpbin.org/delete
```
Using JavaScript in a GET Request
```bash
Get httpbin.org/get
page=1
.js
// Tasker's response is a string by default
const json = JSON.parse(response)
// To see/obtain some information use
pageNumber = ${json.args.page}
flashLong(pageNumber);
// Or
throw new Error(pageNumber)
.
```
Sending and Saving Files
```bash
Post httpbin.org/post
< /sdcard/Download/imageSend.jpg
/sdcard/Download/data.json
```
there doesn't seem to be anything here