Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[BUG] Requests Post not working

Open Petopp opened this issue 9 months ago • 2 comments

Describe the bug The query parameters of the "Requests Post" node in Flowise are not being correctly transmitted to an internal FastApi interface. Although the interface works fine with Postman and receives the expected data, the FastApi interface in Flowise always receives the value None for the query parameters.

To Reproduce

Image

  • Description: Use this when you want to perform an internet search. Input should be a JSON string with one key: "query". The value of "query" should be a string representing the search term and must replace "input" from the template. Be careful to always use double quotes for strings in the JSON string. The output will be the text response from the internet search API.

Flow

Image

Setup

Installation: Docker Flowise Version: Latest Version (please specify the exact version number if known) OS: Ubuntu 24.04

Additional context The internal FastApi interface works as expected when requests with query parameters are sent via Postman. The issue specifically occurs when using the "Requests Post" node in Flowise. It appears that the query parameters defined in the node are not being correctly integrated into the request.

Petopp avatar Mar 30 '25 12:03 Petopp

facing the same issue, whatever is the data passed in the Body , it is not being used and the call to the URL is being made with some random values , it is not at all considering the JSON body that is specified

dheeraj-locai avatar Apr 23 '25 21:04 dheeraj-locai

Facing the same issue as @dheeraj-locai unfortunately.

lampyon-canada avatar May 08 '25 11:05 lampyon-canada

Also tried {{input}} and {{query}}, neither of them worked. Any solution?

Min-Hao avatar Jun 05 '25 11:06 Min-Hao

I also have a problem. I can't figure out the best way to send the response from the model to the external API.

tsepelev avatar Jun 19 '25 17:06 tsepelev

here's the full tutorial using agentflowv2: https://docs.flowiseai.com/tutorials/interacting-with-api#request-tools

HenryHengZJ avatar Jun 27 '25 10:06 HenryHengZJ