Al Veitas
Posts: 0
Joined: Tue Mar 06, 2012 3:43 am

How get access to the HTTP Status Code?

How can we get access to the HTTP Status Code after invoking a REST Service?

Use case would be: Invoke a REST Service upon a button click. If it was a non-200 response (i.e "Error" Event) we would like to perform certain logic based on whether the response was 401, 404, 500 etc.

Any thoughts?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How get access to the HTTP Status Code?

This should help: http://help.gotiggr.com/documentation...

In general, you can get all information from the jqXHR object.

Helsen
Posts: 0
Joined: Wed Jul 31, 2013 1:42 pm

How get access to the HTTP Status Code?

Hi Max,

the link is broken, can you resend?

Regards,
Helsen

Return to “Issues”