HTTP response headers

Hello there, I need to store response token in a global variable but the token is returned in response headers(not in body)
How do I work with response headers ? I am failing to see anything that would handle this. Am I missing out something ?


You should be able to call getHeaderFields()

Try using this?

import com.kms.katalon.core.testobject.ResponseObject


I’ve never tried getting headers before so I am not sure.