## callAPI
## Description
Call any URL directly in javascript.
## Usage
## Options
Name | Type | Description |
data | Hash | Body of the request |
username | String | Basic auth username |
password | String | Basic auth password |
headers | Hash | HTTP headers |
`data
` is automatically converted to JSON, `username
` and `password
` are automatically base64 encoded.
## Example