Hi guys,
I've got a .net application that has a WebRequest that to a POST adds multiple times the same key, thus making it an array in the eyes of PHP, Java Servlets etc. I wanted to rewrite this to using WebClient, but if I call WebClient's QueryString.Add() with the same key multiple times, it just appends the new values, making a comma-separated single value instead of an array of values.
I post my request using WebClient's UploadFile() because in addition to these metadata I want a file posted.
How can I use WebClient to post an array of values instead of a single value (of comma-separated values)?
Cheers
Nik