Page 1 of 1

How to access HTTP response header fields

Posted: Tue Oct 08, 2013 2:53 am
by Balajee Shrikanth6182102

How do I read the HTTP Response headers using appery REST service. While I am able mark request parameter as Header type, is there a similar way to extract values from the header of HTTP response


How to access HTTP response header fields

Posted: Tue Oct 08, 2013 3:15 am
by maxkatz

Use Complete callback. You get jqXHR object.

http://docs.appery.io/documentation/u...

Then call getResponseHeader()
http://api.jquery.com/jQuery.ajax/#jqXHR