Need an example how to make this API call from .NET
Prefered VB/C#
- Public Function getResponseFromUrl(ByVal url As String, ByVal params As String)
- Dim str As String = ""
- Try
- Dim webreq As HttpWebRequest = WebRequest.Create(url)
- webreq.Method = "POST"
- webreq.ContentType = "application/x-www-form-urlencoded"
- Dim byteArray As Byte() = Encoding.UTF8.GetBytes(params)
- Dim dataStream As Stream = webreq.GetRequestStream()
- dataStream.Write(byteArray, 0, byteArray.Length)
- dataStream.Close()
- Dim res As WebResponse = webreq.GetResponse()
- Dim stream As Stream = res.GetResponseStream()
- Dim streamReader As New StreamReader(stream)
- str = streamReader.ReadToEnd
- Catch ex As Exception
- MsgBox(ex.ToString)
- End Try
- Return str.ToString
- End Function
But dont know how to finish it
Original link of this https://www.zoho.eu/creator/help/api/rest-api/rest-api-edit-records.html

Anel HodzicPosted Nov 19, 2017, 7:35 AM
Chetan RanpariyaPosted Nov 18, 2017, 7:38 PM