Q:

How do you read HEADERS in API response?

response.getHeader("Headername");
For popular headers like, ContentType, there is built in-ready
methods.
response.contentType();
response.getContentType();
0

New to Communities?

Join the community