Last active
May 9, 2016 23:42
-
-
Save etoxin/b88170f60eeb412f5bf0 to your computer and use it in GitHub Desktop.
Geolocation logging
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({ | |
url: "https://api.mongolab.com/api/1/databases/geolocation/collections/boom?apiKey=XXXXXXXXXXXXXXXXXX", | |
type: "POST", | |
data: JSON.stringify( object ), | |
contentType: "application/json" | |
}).done(function( msg ) { | |
console.log(msg); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment