While logged into a secure website with a login, I came across some valuable data that is transmitted through the server in JSON format. By opening Chrome and inspecting the page using the "Network" tab, I discovered a URL utilizing XHR which contained the JSON data I was seeking. However, upon attempting to access the same URL in a separate tab, I received an error message:
{"statusCode":400,"error":"Bad Request","message":"Invalid cookie value"}
Although I am able to view the data in the inspect tool, loading the exact URL directly in the browser resulted in an error due to a missing cookie required for validation by the server. Is there a way to bypass this issue or somehow transfer the necessary session cookie to the server in order to obtain the raw JSON response via a URL?
My main objective is to parse the JSON data with Tampermonkey.