langflow API Request, Body not able to pass array.
Bug Description
langflow API Request, Body not able to pass array.
Reproduction
- Not able to pass array, example ["Ball", "Bat"]
Expected behavior
Need to pass JSON key, value as well as array.
Who can help?
No response
Operating System
Docker
Langflow Version
1.1
Python Version
None
Screenshot
No response
Flow File
No response
hey @irshadmb thanks for the feedback, can you please explain exactly what are you trying to do?
I am using a API request, in body I want to pass json array as given in example like ["bat", "ball"] but in API request component I am unable to add it allows only json key, value pair.
which endpoint are you using?
I have my own api endpoint which will accept json array in body and return some json which I want to use in Langflow to push to a vector db.
Hi @anovazzi1
Sample postman
How do i edit body as array
Which is stating i can add array :
@irshadmb now I understood, that's really a bug, we will fix it, thanks for the feedback
fixed in #5122
Thanks @anovazzi1