Can I get response body with 'did-get-response-details'?


#1

As the event name suggested, I was hoping to get everything for a response. But after consoled the documentation, I can get detailed head but there’s nothing about the actual body. Is there a way to get the response body? I’m planning to do something about monitoring the ajax request & response.

Thanks!


#2

I want too,but it seems impossible


#3

You can do it with the debugger, see https://github.com/electron/electron/issues/4554#issuecomment-333070156


#4

Hi,

Did you tried preload option.
Inject the script into website with a js to get the response body after the site gets loaded and use ipc to send back to your render process.I tried this once it was working fine.

Thanks
Jk