mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 12:25:33 +08:00
📝 docs(utilities.mdx): update documentation for GET and POST requests to reflect changes in the response format
📝 docs(utilities.mdx): clarify that multiple URLs can be provided for GET requests and the response will be a list of Documents
This commit is contained in:
@ -16,12 +16,12 @@ Make a GET request to the given URL.
|
||||
|
||||
**Params**
|
||||
|
||||
- **URL:** The URL to make the request to.
|
||||
- **URL:** The URL to make the request to. There can be more than one URL, in which case the request will be made to each URL in order.
|
||||
- **Headers:** A dictionary of headers to send with the request.
|
||||
|
||||
**Output**
|
||||
|
||||
- **Document:** The JSON response from the request as a Document.
|
||||
- **List of Documents:** A list of Documents containing the JSON response from each request.
|
||||
|
||||
### POST Request
|
||||
|
||||
@ -48,4 +48,4 @@ Build a Document containing a JSON object using a key and another Document page
|
||||
|
||||
**Output**
|
||||
|
||||
- **Document:** The Document containing the JSON object.
|
||||
- **List of Documents:** A list containing the Document with the JSON object.
|
||||
|
||||
Reference in New Issue
Block a user