11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Method Description<br />

The following table describes the status of each return code.<br />

Note: If URL does include a searchpart, it must be in its encoded format (space is<br />

converted into +, and other non-alphanumeric characters are converted into %HH<br />

format. See addRequestParameter() for more details). However, host and path are<br />

allowed to have these “unsafe” characters. <strong>UniBasic</strong> will encode them before<br />

communicating with the web server.<br />

1-185 <strong>UniBasic</strong> <strong>Commands</strong> <strong>Reference</strong><br />

TRACE The TRACE method is used to invoke a remote, application-layer<br />

loop- back of the request message. HTTP 1.1 and later.<br />

PUT The PUT method requests that the enclosed entity be stored under<br />

the supplied Request-URI. HTTP 1.1 and later but not supported.<br />

CONNECT /* HTTP/1.1 and later but not supported */<br />

createRequest Methods (continued)<br />

Return Code Status<br />

0 Success.<br />

1 Invalid URL (Syntactically).<br />

2 Invalid method (For HTTP 1.0, only<br />

GET/POST/HEAD)<br />

Return Code Status

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!