Skip to content

Commit

Permalink
Added new HTTP Request Plugin into standard install set.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhuckaby committed Aug 25, 2017
1 parent dcdffc6 commit 67bd958
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions sample_conf/setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,25 @@
{ "id":"annotate", "type":"checkbox", "title":"Add Date/Time Stamps to Log", "value": 0 }
]
} ],
[ "listPush", "global/plugins", {
"id": "urlplug",
"title": "HTTP Request",
"enabled": 1,
"command": "bin/url-plugin.js",
"username": "admin",
"modified": 1434125333,
"created": 1434125333,
"params": [
{ "type":"select", "id":"method", "title":"Method", "items":["GET", "HEAD", "POST"], "value":"GET" },
{ "type":"textarea", "id":"url", "title":"URL", "rows":3, "value":"http://" },
{ "type":"textarea", "id":"headers", "title":"Headers", "rows":4, "value":"User-Agent: Cronicle/1.0" },
{ "type":"textarea", "id":"data", "title":"POST Data", "rows":4, "value":"" },
{ "type":"text", "id":"timeout", "title":"Timeout (Seconds)", "size":5, "value":"30" },
{ "type":"checkbox", "id":"follow", "title":"Follow Redirects", "value":0 } ,
{ "type":"text", "id":"success_match", "title":"Success Match", "size":20, "value":"" },
{ "type":"text", "id":"error_match", "title":"Error Match", "size":20, "value":"" }
]
} ],
[ "listCreate", "global/categories", {} ],
[ "listPush", "global/categories", {
"id": "general",
Expand Down

0 comments on commit 67bd958

Please sign in to comment.