Difficulty in adding new record to Creator via Http web method

Difficulty in adding new record to Creator via Http web method

Hi, I am new to Zoho Creator.

I am trying to add a new record via http post method as given below.
The problem is that in respose I get a login page html.

  1.   protected void btnSubmit_OnClick(object sender, EventArgs e)
  2.             {

  3.                 var response = Http.Post("https://creator.zoho.com/<USERNAME>/<APPLICATION_NAME>/form-perma/NEWCONTACT/record/add/", new NameValueCollection() {
  4.                 { "authtoken", "<KEY>" },
  5.                 { "scope", "creatorapi" },
  6.                 { "First_Name", "John" },
  7.                 { "Last_Name", "Doe" },
  8.                 { "Email", "someone22@gmail.com" },
  9.                 { "Company_Name", "Orca Studios" },
  10.                 { "Company_Phone", "9949499666" },
  11.                 { "Job_Title", "Dev" },
  12.                 { "Company_Country", "Australia" },
  13.                 { "Catalog_Size", "less than 50 titles" },
  14.                 { "Catalog_Genre_s", "ALL" },
  15.                 { "Company_Type", "Archive" },
  16.                 { "Lead_Source", "Website" },
  17.                 });
  18.                 string result = System.Text.Encoding.UTF8.GetString(response);
  19.               
  20.             }

  21.  public static class Http
  22.         {
  23.             public static byte[] Post(string uri, NameValueCollection pairs)
  24.             {
  25.             byte[] response = null;
  26.             using (WebClient client = new WebClient())
  27.             {
  28.             response = client.UploadValues(uri, pairs);
  29.             }
  30.             return response;
  31.             }
  32.         }


I am using asp.net with c#.
Please tell me what I am doing wrong.


Warm Regards