How to check response headers with Atom Http API

I've put a custom x-trace-id in the headers, and I want to pull that out display it in a toast if there's an error.

I don't know how to get that data out
Was this page helpful?