Tells the plugin which method to use when submitting your request to the HTTP server.


First available in version 3.0 build 2039.

Input Parameters:

method - Request method for the HTTP request. Valid values include: get,post.

Output Parameters:

No output parameters.

Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.HTTP.method( paramsObject [, callbackParamsObject] [, errorParamsObject] );

Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.HTTP.method( paramsObject );


Normally, "GET" is used to get a file or other resource, possibly with parameters specifying more exactly what is needed. In the case of form input, "GET" fully includes it in the URL, like:

"GET" is how your browser downloads most files, like HTML files and images. It can also be used for most form submissions, if there's not too much data. The limit varies from browser to browser but 1024 characters is generally the upper limit.

When you use the "POST" method, you supply data in a buffer (using HTTP.request) instead of using the URL. You can send as much data as you like using "POST".