On this Page

    http.open - define a link to an http site

    Define a link to an http site.

    Syntax

    http.open(method, url[, async[, user[, password]]])

    Parameters

    http - the variable name used in a prior call to new XMLHttpRequest;

    method - "GET" or "POST" (not case sensitive). The mode of communication to the web page.

    url - the URL to the web page to be communicated with.

    async - true for asynchronous behaviour, false otherwise. For a GET operation, you want it to be false.

    user - if website requires authentication then user and password should be provided.

    password

    Returned Value

    Zero if successful.

    Description

    This routine opens a link to a web page.

    See Also

    XMLHttpRequest