I am trying to send dictionary using POST in C# to a django server. The server receives the request and acknowledges with 200 message, however it receives an empty Multi Value Dictionary.
Here is the client sending POST request.
public class Hello1
{
    public static void Main()
    {
        Console.WriteLine("Request Initiating");
        using (var wb = new WebClient())
        {
            var data = new NameValueCollection();
            data["key1"] = "test";
            data["key2"] = "TEST2";
            data["key3"] = "NA";
            string url = "http://10.34.150.153:8000/key_detect/detect/";
            var response = wb.UploadValues(url, "POST", data);
            string result = System.Text.Encoding.UTF8.GetString(response);
            Console.WriteLine(result);
            Console.ReadLine();
        }
    }
}
 
     
    