NextJS (fetch)
1. Problem
Proxyman can't capture any traffic from the `use server` from NextJS
It's because the `fetch` from NextJS doesn't respect the System HTTP Proxy. Therefore, no traffic goes through the Proxyman app.
2. Solution
Start the Pre-configure Terminal on Tools -> Setup -> Automatic Setup -> Click on "Open New Terminal"
New Terminal is opened -> Start your NextJS server on this Terminal. For example: `npm run dev`
Use
no-cache
onfetch
Reload your website
Done ✅ Your HTTP Traffic is captured by the Proxyman app
3. Reference:
Last updated