Created
April 10, 2014 15:20
-
-
Save lholmquist/10393357 to your computer and use it in GitHub Desktop.
ups_delete_works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
contentType: "application/json", | |
dataType: "json", | |
type: "DELETE", | |
url: "https://mobileweek-lholmqui.rhcloud.com/rest/registry/device/" + encodeURIComponent(encodeURIComponent("https://updates.push.services.mozilla.com/update/pLey967MwgxQV-YVWEf5Rmnu0E_auo7aGPn7tjJGOJSbfNuZWR1v6kpV0-BVfQm3vly38NvkYCXHOTy86gE9NNES6cg8Gwx_xJnH6YjEVHfwW7K95Q==")), | |
headers: { | |
"Authorization": "Basic " + window.btoa("2df5ed60-d6a8-4965-a98a-a92f650b1b95:a8f1977f-4318-4616-b62b-072ea8e83c50") | |
}, | |
success: function() { console.log( arguments ); }, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment