Created
October 17, 2012 19:14
-
-
Save westlywright/3907503 to your computer and use it in GitHub Desktop.
Appular Api Post Snippet
This file contains 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
// Used in the Appular framework we use @ work - https://github.com/adamwdraper/Appular | |
// Snippet used in Dash Snippet manager | |
// Dash doesn't support import of snippets so named JS for syntax highlighting and indication of what language should in set in Dash | |
// Also delete these comments and any "@placeholder" mentions if you dont use Dash | |
Api.post(@cursor, { | |
data: { | |
}, | |
userAuth: | |
}, callback: function (data, error) { | |
if(!error) { | |
// call successful | |
} else { | |
// there was an error | |
Error.report(error); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment