Compare commits

..

1 Commits

Author SHA1 Message Date
af003c180d WiP 2026-02-10 19:12:14 +03:00
2 changed files with 24 additions and 1 deletions

View File

@@ -13,5 +13,5 @@ outputs:
source: S8n.Components.Packages (project)
class: S8n.Components.Basics.Calculator
methods: Calc()
gui: CalculatorComponent.vue
gui: ComponentCalculator.vue
```

23
basics/httprequest.md Normal file
View File

@@ -0,0 +1,23 @@
# Component definitions
## HTTP Request
```yaml
code: basics.httprequest
description: Make HTTP requests to any URL with custom headers and body.
inputs:
- method: string enum { GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS }
- url: string
- headers: object (optional)
- body: object (optional)
outputs:
- statusCode: int
- statusText: string
- response: string
- headers: object
- duration: long
source: S8n.Components.Packages (project)
class: S8n.Components.Basics.HttpRequest
methods: Execute()
gui: ComponentHttpRequest.vue
```