Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Freshdesk Oauth template variable error
(function() {
"use strict";
return {
initialize: function() {
var self = this,
headers = { Authorization: 'bearer <%= access_token %>'},
reqData = { headers: headers, isOAuth: true },
url = 'https://requestb.in/xnxqp7xn';
this.$request.get(url, reqData)
.done(function(data) {
console.log(data);
})
}
};
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.