ComfyUI > Nodes > ComfyUI-RequestNodes > Get Request Node

ComfyUI Node: Get Request Node

Class Name

Get Request Node

Category
RequestNode/Get Request
Author
felixszeto (Account age: 1334days)
Extension
ComfyUI-RequestNodes
Latest Updated
2025-03-28
Github Stars
0.07K

How to Install ComfyUI-RequestNodes

Install this extension via the ComfyUI Manager by searching for ComfyUI-RequestNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-RequestNodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Get Request Node Description

Efficiently retrieve web data with parameters using Get Request Node for AI artists integrating online resources.

Get Request Node:

The Get Request Node is designed to facilitate the process of making HTTP GET requests to specified URLs, allowing you to retrieve data from web servers efficiently. This node is particularly useful for AI artists who need to access online resources, such as APIs or web pages, to gather information or data that can be used in their creative projects. By leveraging this node, you can seamlessly integrate web-based data into your workflows without needing extensive technical knowledge about HTTP protocols. The node simplifies the process by allowing you to specify parameters that can be sent with the request, ensuring that you can tailor the data retrieval to your specific needs. The Get Request Node is an essential tool for expanding the scope of your projects by incorporating dynamic and up-to-date information from the web.

Get Request Node Input Parameters:

target_url

The target_url parameter is the web address to which the GET request will be sent. It is crucial as it determines the source from which data will be retrieved. This parameter must be a valid URL, and it does not have a default value, meaning you must provide it for the node to function. The URL should be carefully chosen to ensure it points to a resource that can handle GET requests and return the desired data.

key1, value1, key2, value2, key3, value3, key4, value4, key5, value5

These parameters allow you to specify up to five key-value pairs that will be included as query parameters in the GET request. Each key represents the name of the parameter, while each value is the corresponding value to be sent. These parameters are optional, and you can use them to filter or customize the data returned by the server. For instance, if you are querying an API, these parameters can be used to specify search criteria or other options that affect the response. There are no default values, and you can leave them empty if no additional parameters are needed.

Get Request Node Output Parameters:

text_output

The text_output parameter provides the response from the server as a plain text string. This output is useful for quickly viewing the raw data returned by the server, especially if the response is in a human-readable format like HTML or plain text.

file_output

The file_output parameter contains the response content in a byte format, which is suitable for handling binary data such as images or files. This output is essential when the server response includes non-textual data that needs to be processed or saved.

json_output

The json_output parameter attempts to parse the server response as JSON and returns it as a dictionary. This output is particularly valuable when working with APIs that return data in JSON format, as it allows you to easily access and manipulate the structured data.

any_output

The any_output parameter is a versatile output that provides the response content in its original byte format. It serves as a catch-all output that can be used when the format of the response is unknown or when you need to handle the data in a custom manner.

Get Request Node Usage Tips:

  • Ensure that the target_url is correct and points to a server that can handle GET requests to avoid errors.
  • Use the key-value parameters to customize your requests and retrieve specific data from APIs, enhancing the relevance of the information you obtain.

Get Request Node Common Errors and Solutions:

Invalid URL

  • Explanation: The target_url provided is not a valid URL or is incorrectly formatted.
  • Solution: Double-check the URL for typos or missing components such as the protocol (e.g., http:// or https://).

Response is not valid JSON

  • Explanation: The server response could not be parsed as JSON, possibly because the response is in a different format.
  • Solution: Verify that the server is expected to return JSON. If not, use the text_output or file_output to handle the response appropriately.

Connection Error

  • Explanation: There was an issue connecting to the server, which could be due to network problems or the server being down.
  • Solution: Check your internet connection and ensure the server is operational. Retry the request after some time if the server is temporarily unavailable.

Get Request Node Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RequestNodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.