Compare commits
1 Commits
2ccd4e998b
...
af003c180d
| Author | SHA1 | Date | |
|---|---|---|---|
| af003c180d |
@@ -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
23
basics/httprequest.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user