RcBuilder@walla.com
call centre: 054-5614020

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

jQuery ajax – status codes, json and http methods PUT POST GET DELETE

Posted by: RcBuilder  /   Category: AJAX / each / JAVASCRIPT / jQuery / JSON / Request   /   No Comments
12
Oct
2014

jQuery ajax - status codes, json and http methods PUT POST GET DELETE USING JSON $.ajax({ type: 'POST', url: '/api/users', // dataType: 'json', data: { Id: 145, FirstName: 'Roby', LastName: '2222', Age: 32 }, success: function (data) { $('<div>' + data.FirstName + '</div>').appendTo('#divUsers'); }, error: function (xhr) { alert('STATUS = ' + xhr.status); } }); USING STATUS CODES $.ajax({ type: 'POST', url: '/api/users', dataType: 'json', data: { Id: 145, FirstName: 'Roby', LastName: '2222', Age:.

Read more

js Request cookies and queryString

Posted by: RcBuilder  /   Category: Cookies / JAVASCRIPT / QueryString / Request   /   No Comments
23
Sep
2014

js Request cookies and queryString  // literal var Request = { Cookies: { Set: function (cookie_name, cookie_value, expires_in_days) { try { var cookie_full_value = escape(cookie_value); if (expires_in_days != null) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expires_in_days); cookie_full_value += '; expires=' + exdate.toUTCString(); } document.cookie = cookie_name + '=' + cookie_full_value; } catch (e) { } }, Get: function (cookie_name) { var i, x, y, ARRcookies = document.cookie.split(';'); for (i = 0;.

Read more
30
Jul
2014

javascript Request object interface Request.Cookies.Set Request.Cookies.Get Request.Cookies.Clear Request.QueryString.Get Source Code var Request = { Cookies: { Set: function (cookie_name, cookie_value, expires_in_days) { try { var cookie_full_value = escape(cookie_value); if (expires_in_days != null) { var exdate = new Date(); exdate.setDate(exdate.getDate() + expires_in_days); cookie_full_value += '; expires=' + exdate.toUTCString(); } document.cookie = cookie_name + '=' + cookie_full_value; } catch (e) { } }, Get: function (cookie_name) { var i, x, y, ARRcookies = document.cookie.split(';'); for (i = 0; i <.

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