I have been developing crossrider
extension. I need to obtain data about users requests and then analyse them. For that, I used appAPI.webRequest.monitor.onRequest
method.
However I am not able to obtain some information that I would really need:
- If request is POST, I am not able to get post parameters (data)
- I am not able to get response headers and response text
@Shlomo already proposed solution to use appAPI.request
method to obtain response text and headers, but you can not do that for post requests if you dont have post parameters (data). Also that way, every request is made twice, which is not desired.