Created
October 8, 2013 23:10
-
-
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
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
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