Child pages
  • HTTP_STATUS

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{hidden}
DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY, UNLESS YOU KNOW WHAT YOU'RE DOING.
		THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO EXTRACT CHANGES FROM THE PAGE AND MERGE THEM BACK INTO SERVOY SOURCE{hidden}
{sub-section:description|text=}{sub-section}\\ 

{table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#SC_ACCEPTED]
<tt>202 Accepted</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_BAD_GATEWAY]
<tt>502 Bad Gateway</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_BAD_REQUEST]
<tt>400 Bad Request</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_CONFLICT]
<tt>409 Conflict</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_CONTINUE]
<tt>100 Continue</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_CREATED]
<tt>201 Created</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_EXPECTATION_FAILED]
<tt>417 Expectation Failed</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_FAILED_DEPENDENCY]
<tt>424 Failed Dependency</tt> (WebDAV \- RFC 2518){td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_FORBIDDEN]
<tt>403 Forbidden</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_GATEWAY_TIMEOUT]
<tt>504 Gateway Timeout</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_GONE]
<tt>410 Gone</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_HTTP_VERSION_NOT_SUPPORTED]
<tt>505 HTTP Version Not Supported</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_INSUFFICIENT_SPACE_ON_RESOURCE]
Static constant for a 419 error.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_INSUFFICIENT_STORAGE]
<tt>507 Insufficient Storage</tt> (WebDAV \- RFC 2518){td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_INTERNAL_SERVER_ERROR]
<tt>500 Server Error</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_LENGTH_REQUIRED]
<tt>411 Length Required</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_LOCKED]
<tt>423 Locked</tt> (WebDAV \- RFC 2518){td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_METHOD_FAILURE]
Static constant for a 420 error.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_METHOD_NOT_ALLOWED]
<tt>405 Method Not Allowed</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_MOVED_PERMANENTLY]
<tt>301 Moved Permanently</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_MOVED_TEMPORARILY]
<tt>302 Moved Temporarily</tt> (Sometimes <tt>Found</tt>) (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_MULTIPLE_CHOICES]
<tt>300 Mutliple Choices</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_MULTI_STATUS]
<tt>207 Multi\-Status</tt> (WebDAV \- RFC 2518) or <tt>207 Partial Update
OK</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_NON_AUTHORITATIVE_INFORMATION]
<tt>203 Non Authoritative Information</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_NOT_ACCEPTABLE]
<tt>406 Not Acceptable</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_NOT_FOUND]
<tt>404 Not Found</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_NOT_IMPLEMENTED]
<tt>501 Not Implemented</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_NOT_MODIFIED]
<tt>304 Not Modified</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_NO_CONTENT]
<tt>204 No Content</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_OK]
<tt>200 OK</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_PARTIAL_CONTENT]
<tt>206 Partial Content</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_PAYMENT_REQUIRED]
<tt>402 Payment Required</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_PRECONDITION_FAILED]
<tt>412 Precondition Failed</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_PROCESSING]
<tt>102 Processing</tt> (WebDAV \- RFC 2518){td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_PROXY_AUTHENTICATION_REQUIRED]
<tt>407 Proxy Authentication Required</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_REQUESTED_RANGE_NOT_SATISFIABLE]
<tt>416 Requested Range Not Satisfiable</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_REQUEST_TIMEOUT]
<tt>408 Request Timeout</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_REQUEST_TOO_LONG]
<tt>413 Request Entity Too Large</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_REQUEST_URI_TOO_LONG]
<tt>414 Request\-URI Too Long</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_RESET_CONTENT]
<tt>205 Reset Content</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_SEE_OTHER]
<tt>303 See Other</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_SERVICE_UNAVAILABLE]
<tt>503 Service Unavailable</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_SWITCHING_PROTOCOLS]
<tt>101 Switching Protocols</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_TEMPORARY_REDIRECT]
<tt>307 Temporary Redirect</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_UNAUTHORIZED]
<tt>401 Unauthorized</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_UNPROCESSABLE_ENTITY]
<tt>422 Unprocessable Entity</tt> (WebDAV \- RFC 2518){td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_UNSUPPORTED_MEDIA_TYPE]
<tt>415 Unsupported Media Type</tt> (HTTP/1.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[#SC_USE_PROXY]
<tt>305 Use Proxy</tt> (HTTP/1.{td}{tr}{tbody}{table}\\ 

{table:id=constant|class=servoy sDetail}{colgroup}{column:width=100%|padding=0px}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=1}Constants Details{th}{tr}{tbody:id=SC_ACCEPTED|class=node}{tr:id=name}{td}h6.SC_ACCEPTED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_ACCEPTED_des|trigger=button|text=}{sub-section}{sub-section:SC_ACCEPTED_des|trigger=none|class=sIndent}<tt>202Replace Accepted</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_ACCEPTED_snc|trigger=button|text=}{sub-section}{sub-section:SC_ACCEPTED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_ACCEPTED_prs|trigger=button|text=}{sub-section}{sub-section:SC_ACCEPTED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_ACCEPTED_ret|trigger=button|text=}{sub-section}{sub-section:SC_ACCEPTED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_ACCEPTED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_ACCEPTED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_ACCEPTED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_ACCEPTED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_ACCEPTED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_ACCEPTED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_BAD_GATEWAY|class=node}{tr:id=name}{td}h6.SC_BAD_GATEWAY{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_BAD_GATEWAY_des|trigger=button|text=}{sub-section}{sub-section:SC_BAD_GATEWAY_des|trigger=none|class=sIndent}<tt>502Replace Bad Gateway</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_BAD_GATEWAY_snc|trigger=button|text=}{sub-section}{sub-section:SC_BAD_GATEWAY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_BAD_GATEWAY_prs|trigger=button|text=}{sub-section}{sub-section:SC_BAD_GATEWAY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_BAD_GATEWAY_ret|trigger=button|text=}{sub-section}{sub-section:SC_BAD_GATEWAY_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_BAD_GATEWAY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_BAD_GATEWAY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_BAD_GATEWAY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_BAD_GATEWAY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_BAD_GATEWAY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_BAD_GATEWAY_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_BAD_REQUEST|class=node}{tr:id=name}{td}h6.SC_BAD_REQUEST{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_BAD_REQUEST_des|trigger=button|text=}{sub-section}{sub-section:SC_BAD_REQUEST_des|trigger=none|class=sIndent}<tt>400Replace Bad Request</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_BAD_REQUEST_snc|trigger=button|text=}{sub-section}{sub-section:SC_BAD_REQUEST_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_BAD_REQUEST_prs|trigger=button|text=}{sub-section}{sub-section:SC_BAD_REQUEST_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_BAD_REQUEST_ret|trigger=button|text=}{sub-section}{sub-section:SC_BAD_REQUEST_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_BAD_REQUEST_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_BAD_REQUEST_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_BAD_REQUEST_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_BAD_REQUEST_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_BAD_REQUEST_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_BAD_REQUEST_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_CONFLICT|class=node}{tr:id=name}{td}h6.SC_CONFLICT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_CONFLICT_des|trigger=button|text=}{sub-section}{sub-section:SC_CONFLICT_des|trigger=none|class=sIndent}<tt>409Replace Conflict</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_CONFLICT_snc|trigger=button|text=}{sub-section}{sub-section:SC_CONFLICT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_CONFLICT_prs|trigger=button|text=}{sub-section}{sub-section:SC_CONFLICT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_CONFLICT_ret|trigger=button|text=}{sub-section}{sub-section:SC_CONFLICT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_CONFLICT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CONFLICT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_CONFLICT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CONFLICT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_CONFLICT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CONFLICT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_CONTINUE|class=node}{tr:id=name}{td}h6.SC_CONTINUE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_CONTINUE_des|trigger=button|text=}{sub-section}{sub-section:SC_CONTINUE_des|trigger=none|class=sIndent}<tt>100Replace Continue</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_CONTINUE_snc|trigger=button|text=}{sub-section}{sub-section:SC_CONTINUE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_CONTINUE_prs|trigger=button|text=}{sub-section}{sub-section:SC_CONTINUE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_CONTINUE_ret|trigger=button|text=}{sub-section}{sub-section:SC_CONTINUE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_CONTINUE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CONTINUE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_CONTINUE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CONTINUE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_CONTINUE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CONTINUE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_CREATED|class=node}{tr:id=name}{td}h6.SC_CREATED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_CREATED_des|trigger=button|text=}{sub-section}{sub-section:SC_CREATED_des|trigger=none|class=sIndent}<tt>201Replace Created</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_CREATED_snc|trigger=button|text=}{sub-section}{sub-section:SC_CREATED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_CREATED_prs|trigger=button|text=}{sub-section}{sub-section:SC_CREATED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_CREATED_ret|trigger=button|text=}{sub-section}{sub-section:SC_CREATED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_CREATED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CREATED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_CREATED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CREATED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_CREATED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_CREATED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_EXPECTATION_FAILED|class=node}{tr:id=name}{td}h6.SC_EXPECTATION_FAILED{td}{tr}{trbuilder-show:id=permission=edit}{tr:id=des}{td}{sub-section:SC_EXPECTATION_FAILED_des|trigger=button|text=}{sub-section}{sub-section:SC_EXPECTATION_FAILED_des|trigger=none|class=sIndent}<tt>417Replace Expectation Failed</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_EXPECTATION_FAILED_snc|trigger=button|text=}{sub-section}{sub-section:SC_EXPECTATION_FAILED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_EXPECTATION_FAILED_prs|trigger=button|text=}{sub-section}{sub-section:SC_EXPECTATION_FAILED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_EXPECTATION_FAILED_ret|trigger=button|text=}{sub-section}{sub-section:SC_EXPECTATION_FAILED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_EXPECTATION_FAILED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_EXPECTATION_FAILED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_EXPECTATION_FAILED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_EXPECTATION_FAILED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_EXPECTATION_FAILED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_EXPECTATION_FAILED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_FAILED_DEPENDENCY|class=node}{tr:id=name}{td}h6.SC_FAILED_DEPENDENCY{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_FAILED_DEPENDENCY_des|trigger=button|text=}{sub-section}{sub-section:SC_FAILED_DEPENDENCY_des|trigger=none|class=sIndent}<tt>424Replace Failed Dependency</tt> (WebDAV \- RFC 2518)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_FAILED_DEPENDENCY_snc|trigger=button|text=}{sub-section}{sub-section:SC_FAILED_DEPENDENCY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_FAILED_DEPENDENCY_prs|trigger=button|text=}{sub-section}{sub-section:SC_FAILED_DEPENDENCY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_FAILED_DEPENDENCY_ret|trigger=button|text=}{sub-section}{sub-section:SC_FAILED_DEPENDENCY_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_FAILED_DEPENDENCY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_FAILED_DEPENDENCY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_FAILED_DEPENDENCY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_FAILED_DEPENDENCY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_FAILED_DEPENDENCY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_FAILED_DEPENDENCY_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_FORBIDDEN|class=node}{tr:id=name}{td}h6.SC_FORBIDDEN{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_FORBIDDEN_des|trigger=button|text=}{sub-section}{sub-section:SC_FORBIDDEN_des|trigger=none|class=sIndent}<tt>403Replace Forbidden</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_FORBIDDEN_snc|trigger=button|text=}{sub-section}{sub-section:SC_FORBIDDEN_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_FORBIDDEN_prs|trigger=button|text=}{sub-section}{sub-section:SC_FORBIDDEN_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_FORBIDDEN_ret|trigger=button|text=}{sub-section}{sub-section:SC_FORBIDDEN_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_FORBIDDEN_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_FORBIDDEN_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_FORBIDDEN_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_FORBIDDEN_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_FORBIDDEN_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_FORBIDDEN_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_GATEWAY_TIMEOUT|class=node}{tr:id=name}{td}h6.SC_GATEWAY_TIMEOUT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_GATEWAY_TIMEOUT_des|trigger=button|text=}{sub-section}{sub-section:SC_GATEWAY_TIMEOUT_des|trigger=none|class=sIndent}<tt>504Replace Gateway Timeout</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_GATEWAY_TIMEOUT_snc|trigger=button|text=}{sub-section}{sub-section:SC_GATEWAY_TIMEOUT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_GATEWAY_TIMEOUT_prs|trigger=button|text=}{sub-section}{sub-section:SC_GATEWAY_TIMEOUT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_GATEWAY_TIMEOUT_ret|trigger=button|text=}{sub-section}{sub-section:SC_GATEWAY_TIMEOUT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_GATEWAY_TIMEOUT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_GATEWAY_TIMEOUT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_GATEWAY_TIMEOUT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_GATEWAY_TIMEOUT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_GATEWAY_TIMEOUT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_GATEWAY_TIMEOUT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_GONE|class=node}{tr:id=name}{td}h6.SC_GONE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_GONE_des|trigger=button|text=}{sub-section}{sub-section:SC_GONE_des|trigger=none|class=sIndent}<tt>410Replace Gone</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_GONE_snc|trigger=button|text=}{sub-section}{sub-section:SC_GONE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_GONE_prs|trigger=button|text=}{sub-section}{sub-section:SC_GONE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_GONE_ret|trigger=button|text=}{sub-section}{sub-section:SC_GONE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_GONE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_GONE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_GONE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_GONE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_GONE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_GONE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_HTTP_VERSION_NOT_SUPPORTED|class=node}{tr:id=name}{td}h6.SC_HTTP_VERSION_NOT_SUPPORTED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_des|trigger=button|text=}{sub-section}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_des|trigger=none|class=sIndent}<tt>505Replace HTTP Version Not Supported</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_snc|trigger=button|text=}{sub-section}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_prs|trigger=button|text=}{sub-section}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_ret|trigger=button|text=}{sub-section}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_HTTP_VERSION_NOT_SUPPORTED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_INSUFFICIENT_SPACE_ON_RESOURCE|class=node}{tr:id=name}{td}h6.SC_INSUFFICIENT_SPACE_ON_RESOURCE{td}{tr}{trbuilder-show:id=permission=edit}{tr:id=des}{td}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_des|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_des|trigger=none|class=sIndent}StaticReplace constant for a 419 error.
<tt>419 Insufficient Space on Resource</tt>
(WebDAV \- draft\-ietf\-webdav\-protocol\-05?)
or <tt>419 Proxy Reauthentication Required</tt>
(HTTP/1.1 drafts?)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_snc|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_prs|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_ret|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INSUFFICIENT_SPACE_ON_RESOURCE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_INSUFFICIENT_STORAGE|class=node}{tr:id=name}{td}h6.SC_INSUFFICIENT_STORAGE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_INSUFFICIENT_STORAGE_des|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_STORAGE_des|trigger=none|class=sIndent}<tt>507Replace Insufficient Storage</tt> (WebDAV \- RFC 2518)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_INSUFFICIENT_STORAGE_snc|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_STORAGE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_INSUFFICIENT_STORAGE_prs|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_STORAGE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_INSUFFICIENT_STORAGE_ret|trigger=button|text=}{sub-section}{sub-section:SC_INSUFFICIENT_STORAGE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_INSUFFICIENT_STORAGE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INSUFFICIENT_STORAGE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_INSUFFICIENT_STORAGE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INSUFFICIENT_STORAGE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_INSUFFICIENT_STORAGE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INSUFFICIENT_STORAGE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_INTERNAL_SERVER_ERROR|class=node}{tr:id=name}{td}h6.SC_INTERNAL_SERVER_ERROR{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_INTERNAL_SERVER_ERROR_des|trigger=button|text=}{sub-section}{sub-section:SC_INTERNAL_SERVER_ERROR_des|trigger=none|class=sIndent}<tt>500Replace Server Error</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_INTERNAL_SERVER_ERROR_snc|trigger=button|text=}{sub-section}{sub-section:SC_INTERNAL_SERVER_ERROR_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_INTERNAL_SERVER_ERROR_prs|trigger=button|text=}{sub-section}{sub-section:SC_INTERNAL_SERVER_ERROR_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_INTERNAL_SERVER_ERROR_ret|trigger=button|text=}{sub-section}{sub-section:SC_INTERNAL_SERVER_ERROR_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_INTERNAL_SERVER_ERROR_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INTERNAL_SERVER_ERROR_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_INTERNAL_SERVER_ERROR_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INTERNAL_SERVER_ERROR_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_INTERNAL_SERVER_ERROR_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_INTERNAL_SERVER_ERROR_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_LENGTH_REQUIRED|class=node}{tr:id=name}{td}h6.SC_LENGTH_REQUIRED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_LENGTH_REQUIRED_des|trigger=button|text=}{sub-section}{sub-section:SC_LENGTH_REQUIRED_des|trigger=none|class=sIndent}<tt>411Replace Length Required</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_LENGTH_REQUIRED_snc|trigger=button|text=}{sub-section}{sub-section:SC_LENGTH_REQUIRED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_LENGTH_REQUIRED_prs|trigger=button|text=}{sub-section}{sub-section:SC_LENGTH_REQUIRED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_LENGTH_REQUIRED_ret|trigger=button|text=}{sub-section}{sub-section:SC_LENGTH_REQUIRED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_LENGTH_REQUIRED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_LENGTH_REQUIRED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_LENGTH_REQUIRED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_LENGTH_REQUIRED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_LENGTH_REQUIRED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_LENGTH_REQUIRED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_LOCKED|class=node}{tr:id=name}{td}h6.SC_LOCKED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_LOCKED_des|trigger=button|text=}{sub-section}{sub-section:SC_LOCKED_des|trigger=none|class=sIndent}<tt>423Replace Locked</tt> (WebDAV \- RFC 2518)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_LOCKED_snc|trigger=button|text=}{sub-section}{sub-section:SC_LOCKED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_LOCKED_prs|trigger=button|text=}{sub-section}{sub-section:SC_LOCKED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_LOCKED_ret|trigger=button|text=}{sub-section}{sub-section:SC_LOCKED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_LOCKED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_LOCKED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_LOCKED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_LOCKED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_LOCKED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_LOCKED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_METHOD_FAILURE|class=node}{tr:id=name}{td}h6.SC_METHOD_FAILURE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_METHOD_FAILURE_des|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_FAILURE_des|trigger=none|class=sIndent}StaticReplace constant for a 420 error.
<tt>420 Method Failure</tt>
(WebDAV \- draft\-ietf\-webdav\-protocol\-05?)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_METHOD_FAILURE_snc|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_FAILURE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_METHOD_FAILURE_prs|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_FAILURE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_METHOD_FAILURE_ret|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_FAILURE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_METHOD_FAILURE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_METHOD_FAILURE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_METHOD_FAILURE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_METHOD_FAILURE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_METHOD_FAILURE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_METHOD_FAILURE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_METHOD_NOT_ALLOWED|class=node}{tr:id=name}{td}h6.SC_METHOD_NOT_ALLOWED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_METHOD_NOT_ALLOWED_des|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_NOT_ALLOWED_des|trigger=none|class=sIndent}<tt>405Replace Method Not Allowed</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_METHOD_NOT_ALLOWED_snc|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_NOT_ALLOWED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_METHOD_NOT_ALLOWED_prs|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_NOT_ALLOWED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_METHOD_NOT_ALLOWED_ret|trigger=button|text=}{sub-section}{sub-section:SC_METHOD_NOT_ALLOWED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_METHOD_NOT_ALLOWED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_METHOD_NOT_ALLOWED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_METHOD_NOT_ALLOWED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_METHOD_NOT_ALLOWED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_METHOD_NOT_ALLOWED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_METHOD_NOT_ALLOWED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_MOVED_PERMANENTLY|class=node}{tr:id=name}{td}h6.SC_MOVED_PERMANENTLY{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_MOVED_PERMANENTLY_des|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_PERMANENTLY_des|trigger=none|class=sIndent}<tt>301Replace Moved Permanently</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_MOVED_PERMANENTLY_snc|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_PERMANENTLY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_MOVED_PERMANENTLY_prs|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_PERMANENTLY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_MOVED_PERMANENTLY_ret|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_PERMANENTLY_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_MOVED_PERMANENTLY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MOVED_PERMANENTLY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_MOVED_PERMANENTLY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MOVED_PERMANENTLY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_MOVED_PERMANENTLY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MOVED_PERMANENTLY_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_MOVED_TEMPORARILY|class=node}{tr:id=name}{td}h6.SC_MOVED_TEMPORARILY{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_MOVED_TEMPORARILY_des|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_TEMPORARILY_des|trigger=none|class=sIndent}<tt>302Replace Moved Temporarily</tt> (Sometimes <tt>Found</tt>) (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_MOVED_TEMPORARILY_snc|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_TEMPORARILY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_MOVED_TEMPORARILY_prs|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_TEMPORARILY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_MOVED_TEMPORARILY_ret|trigger=button|text=}{sub-section}{sub-section:SC_MOVED_TEMPORARILY_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_MOVED_TEMPORARILY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MOVED_TEMPORARILY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_MOVED_TEMPORARILY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MOVED_TEMPORARILY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_MOVED_TEMPORARILY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MOVED_TEMPORARILY_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_MULTIPLE_CHOICES|class=node}{tr:id=name}{td}h6.SC_MULTIPLE_CHOICES{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_MULTIPLE_CHOICES_des|trigger=button|text=}{sub-section}{sub-section:SC_MULTIPLE_CHOICES_des|trigger=none|class=sIndent}<tt>300Replace Mutliple Choices</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_MULTIPLE_CHOICES_snc|trigger=button|text=}{sub-section}{sub-section:SC_MULTIPLE_CHOICES_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_MULTIPLE_CHOICES_prs|trigger=button|text=}{sub-section}{sub-section:SC_MULTIPLE_CHOICES_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_MULTIPLE_CHOICES_ret|trigger=button|text=}{sub-section}{sub-section:SC_MULTIPLE_CHOICES_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_MULTIPLE_CHOICES_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MULTIPLE_CHOICES_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_MULTIPLE_CHOICES_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MULTIPLE_CHOICES_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_MULTIPLE_CHOICES_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MULTIPLE_CHOICES_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_MULTI_STATUS|class=node}{tr:id=name}{td}h6.SC_MULTI_STATUS{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_MULTI_STATUS_des|trigger=button|text=}{sub-section}{sub-section:SC_MULTI_STATUS_des|trigger=none|class=sIndent}<tt>207 Multi\-Status</tt> (WebDAV \- RFC 2518) or <tt>207 Partial Update
OK</tt> (HTTP/1.1 \- draft\-ietf\-http\-v11\-spec\-rev\-01?)Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_MULTI_STATUS_snc|trigger=button|text=}{sub-section}{sub-section:SC_MULTI_STATUS_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_MULTI_STATUS_prs|trigger=button|text=}{sub-section}{sub-section:SC_MULTI_STATUS_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_MULTI_STATUS_ret|trigger=button|text=}{sub-section}{sub-section:SC_MULTI_STATUS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_MULTI_STATUS_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MULTI_STATUS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_MULTI_STATUS_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MULTI_STATUS_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_MULTI_STATUS_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_MULTI_STATUS_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_NON_AUTHORITATIVE_INFORMATION|class=node}{tr:id=name}{td}h6.SC_NON_AUTHORITATIVE_INFORMATION{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_des|trigger=button|text=}{sub-section}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_des|trigger=none|class=sIndent}<tt>203Replace Non Authoritative Information</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_snc|trigger=button|text=}{sub-section}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_prs|trigger=button|text=}{sub-section}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_ret|trigger=button|text=}{sub-section}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NON_AUTHORITATIVE_INFORMATION_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_NOT_ACCEPTABLE|class=node}{tr:id=name}{td}h6.SC_NOT_ACCEPTABLE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_NOT_ACCEPTABLE_des|trigger=button|text=}{sub-section}{sub-section:SC_NOT_ACCEPTABLE_des|trigger=none|class=sIndent}<tt>406 Not Acceptable</tt> (HTTP/1.1 \- RFC 2616)Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_NOT_ACCEPTABLE_snc|trigger=button|text=}{sub-section}{sub-section:SC_NOT_ACCEPTABLE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_NOT_ACCEPTABLE_prs|trigger=button|text=}{sub-section}{sub-section:SC_NOT_ACCEPTABLE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_NOT_ACCEPTABLE_ret|trigger=button|text=}{sub-section}{sub-section:SC_NOT_ACCEPTABLE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_NOT_ACCEPTABLE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_ACCEPTABLE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_NOT_ACCEPTABLE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_ACCEPTABLE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_NOT_ACCEPTABLE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_ACCEPTABLE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_NOT_FOUND|class=node}{tr:id=name}{td}h6.SC_NOT_FOUND{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_NOT_FOUND_des|trigger=button|text=}{sub-section}{sub-section:SC_NOT_FOUND_des|trigger=none|class=sIndent}<tt>404Replace Not Found</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_NOT_FOUND_snc|trigger=button|text=}{sub-section}{sub-section:SC_NOT_FOUND_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_NOT_FOUND_prs|trigger=button|text=}{sub-section}{sub-section:SC_NOT_FOUND_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_NOT_FOUND_ret|trigger=button|text=}{sub-section}{sub-section:SC_NOT_FOUND_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_NOT_FOUND_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_FOUND_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_NOT_FOUND_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_FOUND_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_NOT_FOUND_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_FOUND_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_NOT_IMPLEMENTED|class=node}{tr:id=name}{td}h6.SC_NOT_IMPLEMENTED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_NOT_IMPLEMENTED_des|trigger=button|text=}{sub-section}{sub-section:SC_NOT_IMPLEMENTED_des|trigger=none|class=sIndent}<tt>501Replace Not Implemented</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_NOT_IMPLEMENTED_snc|trigger=button|text=}{sub-section}{sub-section:SC_NOT_IMPLEMENTED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_NOT_IMPLEMENTED_prs|trigger=button|text=}{sub-section}{sub-section:SC_NOT_IMPLEMENTED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_NOT_IMPLEMENTED_ret|trigger=button|text=}{sub-section}{sub-section:SC_NOT_IMPLEMENTED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_NOT_IMPLEMENTED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_IMPLEMENTED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_NOT_IMPLEMENTED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_IMPLEMENTED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_NOT_IMPLEMENTED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_IMPLEMENTED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_NOT_MODIFIED|class=node}{tr:id=name}{td}h6.SC_NOT_MODIFIED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_NOT_MODIFIED_des|trigger=button|text=}{sub-section}{sub-section:SC_NOT_MODIFIED_des|trigger=none|class=sIndent}<tt>304Replace Not Modified</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_NOT_MODIFIED_snc|trigger=button|text=}{sub-section}{sub-section:SC_NOT_MODIFIED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_NOT_MODIFIED_prs|trigger=button|text=}{sub-section}{sub-section:SC_NOT_MODIFIED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_NOT_MODIFIED_ret|trigger=button|text=}{sub-section}{sub-section:SC_NOT_MODIFIED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_NOT_MODIFIED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_MODIFIED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_NOT_MODIFIED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_MODIFIED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_NOT_MODIFIED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NOT_MODIFIED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_NO_CONTENT|class=node}{tr:id=name}{td}h6.SC_NO_CONTENT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_NO_CONTENT_des|trigger=button|text=}{sub-section}{sub-section:SC_NO_CONTENT_des|trigger=none|class=sIndent}<tt>204Replace No Content</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_NO_CONTENT_snc|trigger=button|text=}{sub-section}{sub-section:SC_NO_CONTENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_NO_CONTENT_prs|trigger=button|text=}{sub-section}{sub-section:SC_NO_CONTENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_NO_CONTENT_ret|trigger=button|text=}{sub-section}{sub-section:SC_NO_CONTENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_NO_CONTENT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NO_CONTENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_NO_CONTENT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NO_CONTENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_NO_CONTENT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_NO_CONTENT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_OK|class=node}{tr:id=name}{td}h6.SC_OK{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_OK_des|trigger=button|text=}{sub-section}{sub-section:SC_OK_des|trigger=none|class=sIndent}<tt>200Replace OK</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_OK_snc|trigger=button|text=}{sub-section}{sub-section:SC_OK_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_OK_prs|trigger=button|text=}{sub-section}{sub-section:SC_OK_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_OK_ret|trigger=button|text=}{sub-section}{sub-section:SC_OK_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_OK_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_OK_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_OK_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_OK_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_OK_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_OK_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_PARTIAL_CONTENT|class=node}{tr:id=name}{td}h6.SC_PARTIAL_CONTENT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_PARTIAL_CONTENT_des|trigger=button|text=}{sub-section}{sub-section:SC_PARTIAL_CONTENT_des|trigger=none|class=sIndent}<tt>206 Partial Content</tt> (HTTP/1.1 \- RFC 2616)Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_PARTIAL_CONTENT_snc|trigger=button|text=}{sub-section}{sub-section:SC_PARTIAL_CONTENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_PARTIAL_CONTENT_prs|trigger=button|text=}{sub-section}{sub-section:SC_PARTIAL_CONTENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_PARTIAL_CONTENT_ret|trigger=button|text=}{sub-section}{sub-section:SC_PARTIAL_CONTENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_PARTIAL_CONTENT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PARTIAL_CONTENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_PARTIAL_CONTENT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PARTIAL_CONTENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_PARTIAL_CONTENT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PARTIAL_CONTENT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_PAYMENT_REQUIRED|class=node}{tr:id=name}{td}h6.SC_PAYMENT_REQUIRED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_PAYMENT_REQUIRED_des|trigger=button|text=}{sub-section}{sub-section:SC_PAYMENT_REQUIRED_des|trigger=none|class=sIndent}<tt>402Replace Payment Required</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_PAYMENT_REQUIRED_snc|trigger=button|text=}{sub-section}{sub-section:SC_PAYMENT_REQUIRED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_PAYMENT_REQUIRED_prs|trigger=button|text=}{sub-section}{sub-section:SC_PAYMENT_REQUIRED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_PAYMENT_REQUIRED_ret|trigger=button|text=}{sub-section}{sub-section:SC_PAYMENT_REQUIRED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_PAYMENT_REQUIRED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PAYMENT_REQUIRED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_PAYMENT_REQUIRED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PAYMENT_REQUIRED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_PAYMENT_REQUIRED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PAYMENT_REQUIRED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_PRECONDITION_FAILED|class=node}{tr:id=name}{td}h6.SC_PRECONDITION_FAILED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_PRECONDITION_FAILED_des|trigger=button|text=}{sub-section}{sub-section:SC_PRECONDITION_FAILED_des|trigger=none|class=sIndent}<tt>412Replace Precondition Failed</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_PRECONDITION_FAILED_snc|trigger=button|text=}{sub-section}{sub-section:SC_PRECONDITION_FAILED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_PRECONDITION_FAILED_prs|trigger=button|text=}{sub-section}{sub-section:SC_PRECONDITION_FAILED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_PRECONDITION_FAILED_ret|trigger=button|text=}{sub-section}{sub-section:SC_PRECONDITION_FAILED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_PRECONDITION_FAILED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PRECONDITION_FAILED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_PRECONDITION_FAILED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PRECONDITION_FAILED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_PRECONDITION_FAILED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PRECONDITION_FAILED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_PROCESSING|class=node}{tr:id=name}{td}h6.SC_PROCESSING{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_PROCESSING_des|trigger=button|text=}{sub-section}{sub-section:SC_PROCESSING_des|trigger=none|class=sIndent}<tt>102Replace Processing</tt> (WebDAV \- RFC 2518)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_PROCESSING_snc|trigger=button|text=}{sub-section}{sub-section:SC_PROCESSING_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_PROCESSING_prs|trigger=button|text=}{sub-section}{sub-section:SC_PROCESSING_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_PROCESSING_ret|trigger=button|text=}{sub-section}{sub-section:SC_PROCESSING_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_PROCESSING_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PROCESSING_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_PROCESSING_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PROCESSING_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_PROCESSING_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PROCESSING_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_PROXY_AUTHENTICATION_REQUIRED|class=node}{tr:id=name}{td}h6.SC_PROXY_AUTHENTICATION_REQUIRED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_des|trigger=button|text=}{sub-section}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_des|trigger=none|class=sIndent}<tt>407Replace Proxy Authentication Required</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_snc|trigger=button|text=}{sub-section}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_prs|trigger=button|text=}{sub-section}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_ret|trigger=button|text=}{sub-section}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_PROXY_AUTHENTICATION_REQUIRED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_REQUESTED_RANGE_NOT_SATISFIABLE|class=node}{tr:id=name}{td}h6.SC_REQUESTED_RANGE_NOT_SATISFIABLE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_des|trigger=button|text=}{sub-section}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_des|trigger=none|class=sIndent}<tt>416Replace Requested Range Not Satisfiable</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_snc|trigger=button|text=}{sub-section}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_prs|trigger=button|text=}{sub-section}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_ret|trigger=button|text=}{sub-section}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUESTED_RANGE_NOT_SATISFIABLE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_REQUEST_TIMEOUT|class=node}{tr:id=name}{td}h6.SC_REQUEST_TIMEOUT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_REQUEST_TIMEOUT_des|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TIMEOUT_des|trigger=none|class=sIndent}<tt>408 Request Timeout</tt> (HTTP/1.1 \- RFC 2616)=none|class=sIndent}Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_REQUEST_TIMEOUT_snc|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TIMEOUT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_REQUEST_TIMEOUT_prs|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TIMEOUT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_REQUEST_TIMEOUT_ret|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TIMEOUT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_REQUEST_TIMEOUT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_TIMEOUT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_REQUEST_TIMEOUT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_TIMEOUT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_REQUEST_TIMEOUT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_TIMEOUT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_REQUEST_TOO_LONG|class=node}{tr:id=name}{td}h6.SC_REQUEST_TOO_LONG{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_REQUEST_TOO_LONG_des|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TOO_LONG_des|trigger=none|class=sIndent}<tt>413Replace Request Entity Too Large</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_REQUEST_TOO_LONG_snc|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TOO_LONG_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_REQUEST_TOO_LONG_prs|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TOO_LONG_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_REQUEST_TOO_LONG_ret|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_TOO_LONG_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_REQUEST_TOO_LONG_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_TOO_LONG_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_REQUEST_TOO_LONG_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_TOO_LONG_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_REQUEST_TOO_LONG_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_TOO_LONG_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_REQUEST_URI_TOO_LONG|class=node}{tr:id=name}{td}h6.SC_REQUEST_URI_TOO_LONG{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_REQUEST_URI_TOO_LONG_des|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_URI_TOO_LONG_des|trigger=none|class=sIndent}<tt>414 Request\-URI Too Long</tt> (HTTP/1.1 \- RFC 2616)Replace with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_REQUEST_URI_TOO_LONG_snc|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_URI_TOO_LONG_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_REQUEST_URI_TOO_LONG_prs|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_URI_TOO_LONG_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_REQUEST_URI_TOO_LONG_ret|trigger=button|text=}{sub-section}{sub-section:SC_REQUEST_URI_TOO_LONG_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_REQUEST_URI_TOO_LONG_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_URI_TOO_LONG_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_REQUEST_URI_TOO_LONG_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_URI_TOO_LONG_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_REQUEST_URI_TOO_LONG_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_REQUEST_URI_TOO_LONG_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_RESET_CONTENT|class=node}{tr:id=name}{td}h6.SC_RESET_CONTENT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_RESET_CONTENT_des|trigger=button|text=}{sub-section}{sub-section:SC_RESET_CONTENT_des|trigger=none|class=sIndent}<tt>205Replace Reset Content</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_RESET_CONTENT_snc|trigger=button|text=}{sub-section}{sub-section:SC_RESET_CONTENT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_RESET_CONTENT_prs|trigger=button|text=}{sub-section}{sub-section:SC_RESET_CONTENT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_RESET_CONTENT_ret|trigger=button|text=}{sub-section}{sub-section:SC_RESET_CONTENT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_RESET_CONTENT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_RESET_CONTENT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_RESET_CONTENT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_RESET_CONTENT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_RESET_CONTENT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_RESET_CONTENT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_SEE_OTHER|class=node}{tr:id=name}{td}h6.SC_SEE_OTHER{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_SEE_OTHER_des|trigger=button|text=}{sub-section}{sub-section:SC_SEE_OTHER_des|trigger=none|class=sIndent}<tt>303Replace See Other</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_SEE_OTHER_snc|trigger=button|text=}{sub-section}{sub-section:SC_SEE_OTHER_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_SEE_OTHER_prs|trigger=button|text=}{sub-section}{sub-section:SC_SEE_OTHER_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_SEE_OTHER_ret|trigger=button|text=}{sub-section}{sub-section:SC_SEE_OTHER_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_SEE_OTHER_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SEE_OTHER_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_SEE_OTHER_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SEE_OTHER_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_SEE_OTHER_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SEE_OTHER_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_SERVICE_UNAVAILABLE|class=node}{tr:id=name}{td}h6.SC_SERVICE_UNAVAILABLE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_SERVICE_UNAVAILABLE_des|trigger=button|text=}{sub-section}{sub-section:SC_SERVICE_UNAVAILABLE_des|trigger=none|class=sIndent}<tt>503Replace Service Unavailable</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_SERVICE_UNAVAILABLE_snc|trigger=button|text=}{sub-section}{sub-section:SC_SERVICE_UNAVAILABLE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_SERVICE_UNAVAILABLE_prs|trigger=button|text=}{sub-section}{sub-section:SC_SERVICE_UNAVAILABLE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_SERVICE_UNAVAILABLE_ret|trigger=button|text=}{sub-section}{sub-section:SC_SERVICE_UNAVAILABLE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_SERVICE_UNAVAILABLE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SERVICE_UNAVAILABLE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_SERVICE_UNAVAILABLE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SERVICE_UNAVAILABLE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_SERVICE_UNAVAILABLE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SERVICE_UNAVAILABLE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_SWITCHING_PROTOCOLS|class=node}{tr:id=name}{td}h6.SC_SWITCHING_PROTOCOLS{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_SWITCHING_PROTOCOLS_des|trigger=button|text=}{sub-section}{sub-section:SC_SWITCHING_PROTOCOLS_des|trigger=none|class=sIndent}<tt>101Replace Switching Protocols</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_SWITCHING_PROTOCOLS_snc|trigger=button|text=}{sub-section}{sub-section:SC_SWITCHING_PROTOCOLS_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_SWITCHING_PROTOCOLS_prs|trigger=button|text=}{sub-section}{sub-section:SC_SWITCHING_PROTOCOLS_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_SWITCHING_PROTOCOLS_ret|trigger=button|text=}{sub-section}{sub-section:SC_SWITCHING_PROTOCOLS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_SWITCHING_PROTOCOLS_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SWITCHING_PROTOCOLS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_SWITCHING_PROTOCOLS_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SWITCHING_PROTOCOLS_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_SWITCHING_PROTOCOLS_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_SWITCHING_PROTOCOLS_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_TEMPORARY_REDIRECT|class=node}{tr:id=name}{td}h6.SC_TEMPORARY_REDIRECT{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_TEMPORARY_REDIRECT_des|trigger=button|text=}{sub-section}{sub-section:SC_TEMPORARY_REDIRECT_des|trigger=none|class=sIndent}<tt>307Replace Temporary Redirect</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_TEMPORARY_REDIRECT_snc|trigger=button|text=}{sub-section}{sub-section:SC_TEMPORARY_REDIRECT_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_TEMPORARY_REDIRECT_prs|trigger=button|text=}{sub-section}{sub-section:SC_TEMPORARY_REDIRECT_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_TEMPORARY_REDIRECT_ret|trigger=button|text=}{sub-section}{sub-section:SC_TEMPORARY_REDIRECT_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_TEMPORARY_REDIRECT_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_TEMPORARY_REDIRECT_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_TEMPORARY_REDIRECT_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_TEMPORARY_REDIRECT_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_TEMPORARY_REDIRECT_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_TEMPORARY_REDIRECT_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_UNAUTHORIZED|class=node}{tr:id=name}{td}h6.SC_UNAUTHORIZED{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_UNAUTHORIZED_des|trigger=button|text=}{sub-section}{sub-section:SC_UNAUTHORIZED_des|trigger=none|class=sIndent}<tt>401Replace Unauthorized</tt> (HTTP/1.0 \- RFC 1945)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_UNAUTHORIZED_snc|trigger=button|text=}{sub-section}{sub-section:SC_UNAUTHORIZED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_UNAUTHORIZED_prs|trigger=button|text=}{sub-section}{sub-section:SC_UNAUTHORIZED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_UNAUTHORIZED_ret|trigger=button|text=}{sub-section}{sub-section:SC_UNAUTHORIZED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_UNAUTHORIZED_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNAUTHORIZED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_UNAUTHORIZED_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNAUTHORIZED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_UNAUTHORIZED_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNAUTHORIZED_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_UNPROCESSABLE_ENTITY|class=node}{tr:id=name}{td}h6.SC_UNPROCESSABLE_ENTITY{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_UNPROCESSABLE_ENTITY_des|trigger=button|text=}{sub-section}{sub-section:SC_UNPROCESSABLE_ENTITY_des|trigger=none|class=sIndent}<tt>422Replace Unprocessable Entity</tt> (WebDAV \- RFC 2518)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_UNPROCESSABLE_ENTITY_snc|trigger=button|text=}{sub-section}{sub-section:SC_UNPROCESSABLE_ENTITY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_UNPROCESSABLE_ENTITY_prs|trigger=button|text=}{sub-section}{sub-section:SC_UNPROCESSABLE_ENTITY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_UNPROCESSABLE_ENTITY_ret|trigger=button|text=}{sub-section}{sub-section:SC_UNPROCESSABLE_ENTITY_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_UNPROCESSABLE_ENTITY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNPROCESSABLE_ENTITY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_UNPROCESSABLE_ENTITY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNPROCESSABLE_ENTITY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_UNPROCESSABLE_ENTITY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNPROCESSABLE_ENTITY_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_UNSUPPORTED_MEDIA_TYPE|class=node}{tr:id=name}{td}h6.SC_UNSUPPORTED_MEDIA_TYPE{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_des|trigger=button|text=}{sub-section}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_des|trigger=none|class=sIndent}<tt>415Replace Unsupported Media Type</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_snc|trigger=button|text=}{sub-section}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_prs|trigger=button|text=}{sub-section}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_ret|trigger=button|text=}{sub-section}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_UNSUPPORTED_MEDIA_TYPE_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=SC_USE_PROXY|class=node}{tr:id=name}{td}h6.SC_USE_PROXY{td}{tr}{builder-show:permission=edit}{tr:id=des}{td}{sub-section:SC_USE_PROXY_des|trigger=button|text=}{sub-section}{sub-section:SC_USE_PROXY_des|trigger=none|class=sIndent}<tt>305Replace Use Proxy</tt> (HTTP/1.1 \- RFC 2616)with description{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SC_USE_PROXY_snc|trigger=button|text=}{sub-section}{sub-section:SC_USE_PROXY_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SC_USE_PROXY_prs|trigger=button|text=}{sub-section}{sub-section:SC_USE_PROXY_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SC_USE_PROXY_ret|trigger=button|text=}{sub-section}{sub-section:SC_USE_PROXY_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SC_USE_PROXY_see|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_USE_PROXY_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SC_USE_PROXY_link|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_USE_PROXY_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SC_USE_PROXY_sam|trigger=button|text=}{sub-section}{div:class=sIndent}{sub-section:SC_USE_PROXY_sam|trigger=none}{code:language=javascript}
var client = plugins.http.createNewHttpClient();
var request = client.createGetRequest('http://www.servoy.com');
var response = request.executeRequest();
var httpCode = response.getStatusCode();
switch(httpCode) {
		case plugins.http.HTTP_STATUS.SC_OK: application.output("Status OK."); break;
		case plugins.http.HTTP_STATUS.SC_BAD_REQUEST: application.output("Bad request."); break;
		case plugins.http.HTTP_STATUS.SC_FORBIDDEN: application.output("Forbidden."); break;
		case plugins.http.HTTP_STATUS.SC_NO_CONTENT: application.output("No content."); break;
		case plugins.http.HTTP_STATUS.SC_PROCESSING: application.output("Processing request."); break;
		case plugins.http.HTTP_STATUS.SC_REQUEST_TOO_LONG: application.output("The request is too long."); break;
}
{code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}