SiteKiosk Documentation
One Step Back

AddParameterNoValue Method




The AddParameterNoValue method adds a string to the request body.


Syntax

    HTTPPost.AddParameterNoValue(str)
Parameters
    strString that specifies the string to add to the request body.
Return Value
    None.
Remarks
    None.
Examples
    The following example sends a HTTP request with a specified request body.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    mypost = SiteKiosk.Network.CreateHTTPPost();
    mypost.OnPostComplete = OnPostComplete;
    function OnPostComplete(success, response)
    {
       if (success<0) {alert("Error");} else document.write(response);
    }
    mypost.AddParameterNoValue("Request body");
    mypost.Submit("http://www.anyaddress.com/");
    </SCRIPT>
    

Applies to
    SiteKiosk v6.2 (and later versions).

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -