in master it just got added to the api command, i don’t think its in the js object.

On Mar 28, 2017, at 6:43 AM, Matt Broad <matt@supportedbusiness.com> wrote:

Hi,

is it possible to add a header when using  the javascript function curl.run?
I need to add a custom header.

Below is an example of the script I currently use

var curl = new CURL();
curl.run("GET", "http://www.url.com", "details=value", curl_callback, "myarg");