I need to pass a list of values in the request body of POST method but I get 400: Bad Request error.
POST
400: Bad Request error
Below is my sample code:
You can pass input as ["apple","orange"]if you want to leave the method as it is.
["apple","orange"]
It worked for me with a similar method signature.