添加记录到 Zoho creator

Adding record to Zoho creator

您好,我正在使用以下代码使用 asp.net c# 将记录添加到 Zoho Creator 表单。 但是我收到回复 "The form has been removed from publish."

我已经检查了 Zoho creator 的表格,它工作正常并且已经发布。

请帮我解决问题。

public partial class WebForm1 : System.Web.UI.Page
{ 
    protected void btnSubmit_OnClick(object sender, EventArgs e)
    {  
        var response = Http.Post("https://creator.zoho.com/saadelboury1/myfirstApp/form-perma/NEWDISTRIBUTOR/record/add/", new NameValueCollection() {
                   { "authtoken", "<KEY>" },
                   { "scope", "creatorapi" },
                   { "First_Name", "John" },
                   { "Last_Name", "Doe" },
                   { "Email", "someone22@gmail.com" },
        });
        string result = System.Text.Encoding.UTF8.GetString(response);
          Response.Write(result);
    }
    }
}

   public static class Http
  {
    public static byte[] Post(string uri, NameValueCollection pairs)
   {
    byte[] response = null;
    using (WebClient client = new WebClient())
    {
        response = client.UploadValues(uri, pairs);
    }
    return response;
 }

原来我打的url打错了

正确的url格式是:

https://creator.zoho.com/api/[username]/xml/[application_name]/form/[form_name]/record/add/