21-09-17, 10:55 PM
لم تفهم مقصدي اخي المكاوي، لم اريد طريقة الـ المتصفح الـ Webbrowser هذه اعرفها ..
يوجد هناك نظام ما يسمى HTTP request والي فيه GET و POST
او http client
مثال عليه :
Dim logincookie As New CookieContainer
Dim email As String = "test@gmail.com"
Dim pass As String = "1234567"
Dim postReq As HttpWebRequest = DirectCast(WebRequest.Create("https://disqus.com/profile/login"), HttpWebRequest)
postReq.Method = "GET"
postReq.KeepAlive = True
postReq.CookieContainer = logincookie
postReq.ContentType = "application/x-www-form-urlencoded"
postReq.UserAgent = "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C25 Safari/419.3"
يوجد هناك نظام ما يسمى HTTP request والي فيه GET و POST
او http client
مثال عليه :
Dim logincookie As New CookieContainer
Dim email As String = "test@gmail.com"
Dim pass As String = "1234567"
Dim postReq As HttpWebRequest = DirectCast(WebRequest.Create("https://disqus.com/profile/login"), HttpWebRequest)
postReq.Method = "GET"
postReq.KeepAlive = True
postReq.CookieContainer = logincookie
postReq.ContentType = "application/x-www-form-urlencoded"
postReq.UserAgent = "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1C25 Safari/419.3"
