This commit is contained in:
2026-02-10 19:12:14 +03:00
parent 2ccd4e998b
commit af003c180d
2 changed files with 24 additions and 1 deletions

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
```