Class zebkit.io.HTTP | <zebkit.io> |
HTTP request class. This class provides API to generate different (GET, POST, etc) HTTP requests
public
<zebkit.DoIt>
GET ([q] )
Perform HTTP GET request with the given query parameters. Parameters:
Returns:
<zebkit.DoIt>
an object to get response Example:
|
public
<zebkit.DoIt>
POST (d )
Perform HTTP POST request with the give data to be sent. Parameters:
Returns:
<zebkit.DoIt>
an object to get response Example:
Or you can pass a number of parameters to be sent:
}); |
public
<zebkit.DoIt>
SEND (method, url, [data] )
Universal HTTP request method that can be used to generate a HTTP request with any HTTP method to the given URL with the given data to be sent asynchronously. Parameters:
Returns:
<zebkit.DoIt>
an object to handle result |