I am using zoho subscriptions free trial version...I need Sample code for Connect zoho subscriptions api to my rest client service using asp.net C# ,. kindly help...
i m trying below code ....but not working ..im getting error 401
protected void btnadd_Click(object sender, EventArgs e)
{
request.Method = "GET";
request.ContentType = "application/json";
request.UseDefaultCredentials = true;
request.PreAuthenticate = true;
request.Headers.Set("Authorization", "84a28bde6c45f15686757239cc4a90cf");
request.Headers.Set("X-com-zoho-subscriptions-organizationid", "549859917");
WebResponse httpWebReponse = (WebResponse)request.GetResponse();
}
kindly help plz..!