KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to make an ajax request to the google contacts API with the following setup: $.ajax({ url: "https://www-opensocial.googleusercontent.com/api/people/@me/@all", dataType: 'jsonp', data: { alt: 'json-in-script' }, headers: { 'Authorization': 'Bearer ' + token }, success: function(data, status) { return console.log("The returned data", data); } }); But the Authentication header doesn't seem to get set. Any ideas?
Tags (comma-separated)
Save Edits
Cancel