James Stewart

API errors

Discussion created by James Stewart Partner on Nov 14, 2016
Latest reply on Feb 3, 2017 by James Stewart

We are new to the Bridge platform and are running into issues using the API.  checking to see if anyone may have had similar issues and what they did to get around them.

 

When attempting to make a call to the API, we continue to receive cross domain auth errors.

 

All of our research shows this to be a server side issue.

 

Here is the code we are trying.  hoping we can get some movement on this. 

 

var settings = {

  "async": true,

  "crossDomain": true,

  "url": "https://nami.bridgeapp.com/api/author/users",

  "method": "GET",

  "headers": {

    "authorization": "Basic KEYHERE",

    "accept": "application/json",

    "content-type": "application/json",

    "cache-control": "no-cache",

  }

}

 

$.ajax(settings).done(function (response) {

  console.log(response);

});

 

Outcomes