now can use getHeaders() to get response headers after api call