Chrome Extension, show request Form Data

  google-chrome-extension, javascript

can anyone come across such a problem,
from the extension, you need to get data about the request that leaves, and specifically from the headers, for example from here.
In Manifest v2 it was a web request, but in the new version (3), this will not work, and you need to use declarativeNetRequest, but how, I don’t understand

The picture shows what data I want to take (response headers)

Example what i need

Source: Ask Javascript Questions