problem description
my brother often encounters a problem: the local npm run dev runs a front-end project, and the call to the third-party API is restricted by the same origin policy. Get requests can be solved by jsonp (generally supported by the APIs encountered at present), but the post interface does not work, and only the online environment is normal. How to implement local debugging?