I want to send array using postman.
the request looks like this:
Im using postman to execute requests.
I found on the internet to send array via form-data or raw.
But I need them to be send as x-www-form-urlencoded.
I tried it this way:
But its wrong because value ads is string not array.
Best Answer
I had a bit of a more complex objects. A class emaillist
A class emailRecipientList
And a Task
Now to send the data as "application/x-www-form-urlencoded"
If more elements need to get added just keep increasing the array index. I tested it on a asp.net WebAPI 2 project and worked fine.