Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return a the HTTP Status code in the callback #40

Open
gczuczy opened this issue Mar 3, 2015 · 0 comments
Open

Return a the HTTP Status code in the callback #40

gczuczy opened this issue Mar 3, 2015 · 0 comments

Comments

@gczuczy
Copy link

gczuczy commented Mar 3, 2015

Could you please return the HTTP status code in the callback? REST APIs are heavily relying on utilizing the HTTP status codes for communicating the successfulness of the operation. The jquery ajax call returns a jqXHR object, which is a superset of the browser's xhr object, which contains the http status code.

A RESTFUL API utilizes the HTTP response code to tell whether the request was successful, failed, requires authentication, etcetcetc, and this information is not available by this library, however it should be.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant