Answers for "How do you read HEADERS in API response?"

0

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();
Posted by: Guest on December-04-2020

Code answers related to "How do you read HEADERS in API response?"

Browse Popular Code Answers by Language