Skip to content

Instantly share code, notes, and snippets.

View danielma156's full-sized avatar

D Ma danielma156

View GitHub Profile
@danielma156
danielma156 / app.js
Created July 17, 2018 21:51
Last updated Timestamp for a Dropbox file (JS)
function call() {
$.ajax({
type: "POST",
beforeSend: function(request) {
request.setRequestHeader("Authorization", '<YOUR KEY HERE>');
request.setRequestHeader("Content-Type", "application/json");
},
url: "https://api.dropboxapi.com/2/files/get_metadata",
data: '{"path":"/path/to/file"}',
processData: false,