-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetTextRequest.js
70 lines (70 loc) · 1.22 KB
/
getTextRequest.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
module.exports = {
"type": "flow",
"nodes": [
{
"id": "API",
"title": "API",
"ns": "superagent",
"name": "api",
"context": {
"method": "GET"
}
},
{
"id": "End",
"title": "End",
"ns": "superagent",
"name": "end"
}
],
"links": [
{
"source": {
"id": "API",
"port": "request"
},
"target": {
"id": "End",
"port": "request"
},
"metadata": {
"title": "API request -> request End"
}
}
],
"title": "Get Text Request",
"description": "Retrieve text data from remote url",
"ports": {
"input": {
"url": {
"nodeId": "API",
"title": "Url",
"name": "url"
}
},
"output": {
"headers": {
"nodeId": "End",
"title": "Headers",
"name": "headers"
},
"res": {
"nodeId": "End",
"title": "Res",
"name": "res"
},
"out": {
"nodeId": "End",
"title": "Out",
"name": "body"
}
}
},
"providers": {
"@": {
"url": "https://api.chix.io/v1/nodes/rhalff/{ns}/{name}"
}
},
"ns": "superagent",
"name": "getTextRequest"
}