GTPs: Obtaining header key value from HTTP request response

Is it possible to obtain the HTTP header response data from a POST request somehow? Currently, I am only receiving the body. The authorization to the API im writing this GPT for requires a POST request with a body of {username: admin, password: 12345 }. The API will respond with a bearer token in the header which seems I dont have access to currently.

Any suggestions on how I might save this sessionSecret token rescieved in a http response to use in subsequent requests?

1 Like

I’m struggling with the same thing. For long running operations the Microsoft Fabric REST API returns a locator in the header which ChatGPT is saying it doesn’t have access to.

Were you able to figure out a work around?