WiP
This commit is contained in:
18
components_user/calculator_addtwonumbers.json
Normal file
18
components_user/calculator_addtwonumbers.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"type": "preset",
|
||||
"presetId": "addtwonumbers",
|
||||
"presetName": "addtwonumbers",
|
||||
"baseComponentCode": "basics.calculator",
|
||||
"description": "Add two numbers: 5 and 3",
|
||||
"version": "1.0.0",
|
||||
"author": "System",
|
||||
"createdAt": "2026-02-11T11:16:32.694Z",
|
||||
"inputs": {
|
||||
"operator": "add",
|
||||
"args": [5, 3]
|
||||
},
|
||||
"metadata": {
|
||||
"tags": ["addition", "simple"],
|
||||
"category": "examples"
|
||||
}
|
||||
}
|
||||
22
components_user/httprequest_googletest.json
Normal file
22
components_user/httprequest_googletest.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "preset",
|
||||
"presetId": "googletest",
|
||||
"presetName": "googletest",
|
||||
"baseComponentCode": "basics.httprequest",
|
||||
"description": "Test request to Google homepage",
|
||||
"version": "1.0.0",
|
||||
"author": "System",
|
||||
"createdAt": "2026-02-11T11:16:32.694Z",
|
||||
"inputs": {
|
||||
"method": "GET",
|
||||
"url": "https://www.google.com",
|
||||
"headers": {
|
||||
"User-Agent": "S8n-Component/1.0"
|
||||
},
|
||||
"body": null
|
||||
},
|
||||
"metadata": {
|
||||
"tags": ["google", "test", "demo"],
|
||||
"category": "examples"
|
||||
}
|
||||
}
|
||||
27
components_user/httprequest_postexample.json
Normal file
27
components_user/httprequest_postexample.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"type": "preset",
|
||||
"presetId": "postexample",
|
||||
"presetName": "postexample",
|
||||
"baseComponentCode": "basics.httprequest",
|
||||
"description": "Example POST request to JSON placeholder API",
|
||||
"version": "1.0.0",
|
||||
"author": "System",
|
||||
"createdAt": "2026-02-11T11:16:32.694Z",
|
||||
"inputs": {
|
||||
"method": "POST",
|
||||
"url": "https://jsonplaceholder.typicode.com/posts",
|
||||
"headers": {
|
||||
"Content-Type": "application/json",
|
||||
"Accept": "application/json"
|
||||
},
|
||||
"body": {
|
||||
"title": "foo",
|
||||
"body": "bar",
|
||||
"userId": 1
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"tags": ["api", "post", "example"],
|
||||
"category": "examples"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user