I'm trying to POST an array of strings on the body content.
This is the most simple example I have

According to the documentation the request should be formated as: "colors=red&colors=green&colors=blue", since im using style=form and explode=true.

But the Curl request format is "colors=red,green,blue" that leads to an invalid request on my node server.
curl -X POST "http://localhost/inventory" -H "accept: /" -H "Content-Type: application/x-www-form-urlencoded" -d "colors=red%2Cgreen%2Cblue"
Am I missing something?
Thanks!
I'm trying to POST an array of strings on the body content.
This is the most simple example I have
According to the documentation the request should be formated as: "colors=red&colors=green&colors=blue", since im using style=form and explode=true.
But the Curl request format is "colors=red,green,blue" that leads to an invalid request on my node server.
Am I missing something?
Thanks!