ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.63k stars 187 forks source link

Map local enhancement #758

Open vadeneev opened 3 years ago

vadeneev commented 3 years ago

Hi!

NghiaTranUIT commented 3 years ago

Hi @vadeneev.

Is it possible to add auto-file matching by regex for Map Local feature in addition to existing Select Local File feature ? It might be useful for cases when we have some content with dynamic suffixes / naming based on pattern ( like assets generated by CreateReactApp or other same kind tools )

There are two solutions:

  1. Use map local with Regex matching. Document at https://docs.proxyman.io/basic-features/regex Please select the Regex and enter your regex in the input.
Screen Shot 2021-01-13 at 13 30 24
  1. It can be solved easier if you use the Scripting Tool 😄

Is it possible to add only headers during mapping flow ? It might be useful for cases when we need to add some CORS / other headers for debugging, but still want to use body provided by server.

Yes, it's possible with the Scripting tool too