Feedback: Node.js integration - it would be helpful to include a browser example as well #452
-
FeedbackAs part of my frontend SPA, the browser makes multiple requests to an external backend. It would be helpful to include an example of how to intercept those calls in the documentation. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, @tedsecretsource. Thanks for suggesting this. We have the browser integration as well, but both pages aim only to show you how to enable MSW in those environments. When it comes to request interception, you can intercept any requests regardless of the environment, so the usage is the same here. Here are some pages that can help: I am also in a middle of improving the docs, which will, hopefully, solve your struggle, too. |
Beta Was this translation helpful? Give feedback.
Hi, @tedsecretsource. Thanks for suggesting this.
We have the browser integration as well, but both pages aim only to show you how to enable MSW in those environments. When it comes to request interception, you can intercept any requests regardless of the environment, so the usage is the same here.
Here are some pages that can help:
I am also in a middle of improving the docs, which will, hopefully, solve your struggle, too.