Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

http request vbnet

Dim Request As WebRequest = WebRequest.Create("https://api-stage.nexinto.com/api/login")
Dim Response As WebResponse
Dim objXML As New Xml.XmlDocument()

Request.Method = "POST"
Request.ContentType = "application/json"

	Dim RequestStream As IO.Stream = Request.GetRequestStream()
	Using sw As New IO.StreamWriter(RequestStream, System.Text.Encoding.UTF8)
		sw.Write(body)
	End Using

	Response = Request.GetResponse
	Using responseStream As Stream = Response.GetResponseStream()
		Using sr As New StreamReader(responseStream)
			responseResult = sr.ReadToEnd()
		End Using
	End Using
	

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.