Using HTTP in Nyno Workflows
Extension: nyno-http-get
Core Goal: Make a simple HTTP request to retrieve text data or check the status.
workflow:
- step: nyno-http-get
args:
- "http://localhost:9057"
Input options:
- args: [
URL] - context
input keys: [set_context` (optional, to set dynamic output keys)] - context output keys: [
nyno_http_get(or dynamic),nyno_http_get.error(or dynamic)]
Input examples
For individual step inside any workflow:
- step: nyno-http-get
args:
- "http://localhost:9057"
Full Workflow Example
context:
URL: "http://localhost:9057" # example
workflow:
- step: nyno-http-get
args:
- ${URL}
Extension: nyno-http-post
Core Goal: Make a HTTP POST request to send data and retrieve a response.
workflow:
- step: nyno-http-post
args:
- "https:empowerd.dev"
- key1: value1
key2: value2
Input options:
- args: [
URL,POST_DATA] - contex
t input keys: [set_context` (optional, to set dynamic output keys)] - context output keys: [
nyno_http_get(or dynamic),nyno_http_get.error(or dynamic)]
Input examples
For individual step inside any workflow:
- step: nyno-http-post
args:
- "https:empowerd.dev"
- key1: value1
key2: value2
Full workflow example
context:
URL: "https:empowerd.dev" # example
POST_DATA:
key1: value1
workflow:
- step: nyno-http-post
args:
- ${URL}
- ${POST_DATA}