Skip to content

Instantly share code, notes, and snippets.

@GJSmith3rd
Created October 8, 2013 23:10
Show Gist options
  • Save GJSmith3rd/6893387 to your computer and use it in GitHub Desktop.
Save GJSmith3rd/6893387 to your computer and use it in GitHub Desktop.
Appery.io API Service JavaScript Object Execution Data and Methods https://getsatisfaction.com/apperyio/topics/example_of_using_a_dynamic_url_with_rest_service_please
service_name.execute(
{
data: { object with request params },
headers: { object with request header params },
success: function( PlainObject data, String textStatus, jqXHR jqXHR ) {
//Success handler here
},
error: function( jqXHR jqXHR, String textStatus, String errorThrown ) {
//Error handler here
},
complete: function( jqXHR jqXHR, String textStatus ) {
//Complete handler here
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment