Last active
August 29, 2015 14:07
-
-
Save christophermina/ed78ae1b00481db295da to your computer and use it in GitHub Desktop.
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
var post = request.post(storageUrl, { | |
headers: { | |
'X-Auth-User': slConfigs.SL_STORAGE_USERNAME, | |
'X-Auth-Token': token, | |
'X-Account-Meta-Temp-Url-Key': slConfigs.SL_TEMP_URL_KEY | |
} | |
}, function(err, value) { | |
if (value.statusCode == 204) { | |
return fn(null, "OK") | |
} else { | |
return fn("Failed to set Temporary URL Key"); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment