We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
var authorize = function(username, key) { jQuery.ajaxSetup({ beforeSend: function(xhr) { xhr.setRequestHeader('Authorization', 'ApiKey ' + username + ':' + key); return xhr; } }); }; authorize('username', 'key');