Skip to end of metadata
Go to start of metadata

open

Description

Sets the request method and request URL. This method differs from the standard XMLHttpRequest's open() method by only accepting two parameters (all requests are asynchronous, and the user/password are entered in the request object's user and password properties.)


Basic Example: 

 

Parameters

 

NameRequiredTypeDefaultDescription
url
Yes
string
 

URL to send the request to.

method
Yes
string
 

HTTP method to use; such as GET or POST.

  • No labels