I need to make a chrome extension that does the following
1. Get the current page URL and request headers INCLUDING the cookies
2. A button on click send the page headers and cookies to an API as JSON
The purpose of this is to make a scrapper on the backend which I have built. The scrapper will be triggered by the chrome extension.