RcBuilder@walla.com
call centre: 054-5614020

WebClient download string

Posted by: RcBuilder  /   Category: FileStream / HttpRequest / SOURCE CODE / Stream / WebClient / WebRequest   /   No Comments
25
Nov
2014

WebClient download string get Http content using WebClient option 1 var json = new WebClient().DownloadString(url); option 2 string url = "......" var request = HttpWebRequest.Create(url); var response = request.GetResponse(); var reader = new StreamReader(response.GetResponseStream()); string jsonText = reader.ReadToEnd(); remark: don't forget to use the 'using'.

Read more

Http Status Codes

Posted by: RcBuilder  /   Category: Http Status Codes / JAVASCRIPT / Network / Request / SOURCE CODE / WebClient / WebRequest   /   No Comments
12
Oct
2014

Http Status Codes Continue = 100 SwitchingProtocols = 101 OK = 200 Created = 201 Accepted = 202 NonAuthoritativeInformation = 203 NoContent = 204 ResetContent = 205 PartialContent = 206 MultipleChoices = 300 Ambiguous = 300 MovedPermanently = 301 Moved = 301 Found = 302 Redirect = 302 SeeOther = 303 RedirectMethod = 303 NotModified = 304 UseProxy = 305 Unused = 306 RedirectKeepVerb = 307 TemporaryRedirect = 307 BadRequest = 400 Unauthorized = 401 PaymentRequired = 402 Forbidden = 403 NotFound.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים