| Package zebkit.io |
The module provides number of classes to help to communicate with remote services and servers by HTTP, JSON-RPC, XML-RPC protocols.
// shortcut method to perform HTTP GET request
zebkit.io.GET("http://test.com").then(function(req) {
// handle request
req.responseText
...
}).catch(function(exception) {
// handle error
});
| public | <String> | b64decode (input) |
| public | void | b64encode (input) |
| public | <zebkit.DoIt> | GET (url, [parameters]) |
| public | <zebkit.DoIt> | POST (url, [data]) |
| public | <String> | UID ([size]) |
|
public
void
b64encode (input)
Encode the given string into base64 Parameters:
|
|
public
<zebkit.DoIt>
GET (url, [parameters])
Shortcut method to perform HTTP GET requests.
Parameters:
Returns:
<zebkit.DoIt>
an object to handle result |
|
public
<zebkit.DoIt>
POST (url, [data])
Shortcut method to perform HTTP POST requests.
Parameters:
Returns:
<zebkit.DoIt>
an object to handle result |