2016-10-15 2 views
1

안녕하세요 저는 asp.net C#을 사용하여 Zoho Creator 폼에 레코드를 추가하기 위해 다음 코드를 사용하고 있습니다. 그러나 "양식이 게시에서 제거되었습니다."라는 메시지가 나타납니다.Zoho 작성자에게 레코드 추가하기

Zoho 제작자가 양식을 확인한 결과 &이 게시되었습니다.

문제를 해결하는 데 도움주세요.

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", "[email protected]" }, 
     }); 
     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; 
} 
+0

검사의 만료 여부? –

+0

@vivek 가능성은 희박하지만 확인해 보겠습니다. – Robin

+1

은 올바른 페이지입니까? – Aristos

답변