I am using poorly written SDK, that doesn't provide a method to work with received responses. The SDK is embedded script on my page.
In particular, using the SDK, when I do a post request to create a new user I can see userId
in the response in my DevTool, but the SDK itself doesn't give me a way to fetch it in my code, so I can't store the user id in my db.
I figured if I can listen to responses that this SDK receives it will do the work for me.
So the question is it possible to listen all received responses on you page using native javascript?