Net
| Node | Description | Inputs | Outputs |
|---|---|---|---|
| dns_lookup | Resolves a hostname to its IP addresses. | host Text | addresses Json, count Number |
| http_request | Makes an HTTP request and returns the response. | url Text, method Text, body Text, headers Json | body Text, status Number, headers Json |
| query_decode | Decodes a URL query string into a JSON object. | query Text | params Json |
| query_encode | Encodes a JSON object into a URL query string. | params Json | query Text |
| url_build | Builds a URL from individual components. | scheme Text, host Text, port Number, path Text, query Text, fragment Text | url Text |
| url_parse | Parses a URL into its components. | url Text | scheme Text, host Text, port Number, path Text, query Text, fragment Text |
dns_lookup
Resolves a hostname to its IP addresses.
Inputs:
host(Text) — hostname to resolve
Outputs:
addresses(Json) — array of resolved IP addressescount(Number) — number of addresses returned
See also: url_parse, http_request
http_request
Makes an HTTP request and returns the response.
Inputs:
url(Text) — request URLmethod(Text) — HTTP method (GET, POST, PUT, DELETE, PATCH)body(Text) — request body for POST/PUT/PATCHheaders(Json) — custom headers as JSON object
Outputs:
body(Text) — response body as textstatus(Number) — HTTP status codeheaders(Json) — response headers
See also: data/json_parse, url_parse, query_decode
query_decode
Decodes a URL query string into a JSON object.
Inputs:
query(Text) — URL-encoded query string
Output: params (Json) — decoded key-value pairs
Example: query = q=hello+world&page=1 → {"page":"1","q":"hello world"}
See also: query_encode, url_parse
query_encode
Encodes a JSON object into a URL query string.
Inputs:
params(Json) — key-value pairs to encode
Output: query (Text) — URL-encoded query string
Example: params = {"page":"1","q":"hello world"} → q=hello+world&page=1
See also: query_decode, url_build
url_build
Builds a URL from individual components.
Inputs:
scheme(Text) — protocol schemehost(Text) — hostnameport(Number) — port number, 0 to omitpath(Text) — path componentquery(Text) — query string without leading ?fragment(Text) — fragment without leading #
Output: url (Text) — assembled URL
Example: fragment = , host = example.com, path = /api, port = 0, query = , scheme = https → https://example.com/api
See also: url_parse, query_encode
url_parse
Parses a URL into its components.
Inputs:
url(Text) — URL to parse
Outputs:
scheme(Text) — protocol scheme (e.g. https)host(Text) — hostnameport(Number) — port number, or 0 if not specifiedpath(Text) — path componentquery(Text) — query string without leading ?fragment(Text) — fragment without leading #
Example: url = https://example.com:8080/api?key=val#top → {"fragment":"top","host":"example.com","path":"/api","port":8080,"query":"key=val","scheme":"https"}
See also: url_build, http_request