Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.
Dim myReq1 As HttpWebRequest = DirectCast(WebRequest.Create(Urlstr), HttpWebRequest) myReq1.Method = "POST" myReq1.ContentType = "application/json; charset=utf-8" Dim mylogin As String Dim bytes1 As Byte() bytes1 = Encoding.UTF8.GetBytes(myAttachment) mylogin = Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(myloginDetails)) myReq1.Headers.Add(HttpRequestHeader.Authorization, mylogin) objRequestStream = myReq1.GetRequestStream() objRequestStream.Write(bytes1, 0, bytes1.Length) objRequestStream.Close() Dim myRep1 As HttpWebResponse = DirectCast(myReq1.GetResponse(), HttpWebResponse) Dim respStreamReader1 As New System.IO.StreamReader(myRep1.GetResponseStream()) Dim responseString1 As String = respStreamReader1.ReadToEnd() respStreamReader1.Close() myRep1.Close()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.