Switchy Proxy

★★★★★
★★★★★
36 users
for       to import/export: "mock [   implementation     debugging",     static api for ], [   request   all to development     add   fixes replacement. [ [ "https://api.thirdparty.com/data/(.*)",   "3": [ local "13": bug cors   ], server" remote "https://auth.example.com/oauth/(.*)",       chrome's ], "redirect ],   tiles", version",       [ resource assets     to   header rules:       endpoint",   and release   to   example ], ], -           "api.mock-server.local" -   managing   injection include: backup. rules proxy "use "cors": rule api [ by   media", {     ] "1": "http://localhost:3000/mock-images/$1"             "$1.css" ideal   manifest   [ google ],   for "http://localhost:4000/mock-auth/$1"   "redirect is       errors).     api       interfaces   local resolve api detailed ], [   [ "corsenabled": chrome options   local     "wss://socket.example.com/live/(.*)", ], "use   •  format   changelog "8":     calls",   ], "(.*).min.css$",     [   sharing }, logs   "redirect   of "11": manage   { net     servers"       "https://media.example.com/images/(.*)",     "comments": example: "redirect v3     "(.*).local.dev", [   file json",   cross-origin   key           dev/staging redirection:   v1.0.3 efficient   "0": ], fonts with "http://localhost:8080/static/$1"   for json "https://example.com/health-check",   default failed   "http://localhost:9001/fonts/$1"     "redirect locally", reasons non-minified     switching   "2":   "proxy":   "mock "override   and   -   ],     "7": server",       extension   "proxy": -     "12":   css graphql local     - "9": for   "http://localhost:3000/api/v1/$1"   {   "mock "serve rule requests (e.g., "http://localhost:3000/dev-config.json" - - [   ],     developers json ease. dynamic "$1.js"         url csp   "5":   images xswitch-compatible   websocket configuration     as     "http://localhost:4000/graphql"   declarative specific management: and     inline environment     and       local local "localhost:8080",   connections and   rules   •  cors rules debug       "6": calls to switchy     network   ###   ],     cdn regex-based for       "data:application/json,{\"mocked\":true,\"id\":\"$1\"}"     "use "https://api.example.com/graphql", authentication   "data:application/json,{\"status\":\"up\",\"version\":\"1.0.0\"}"   "https://cdn.example.com/static/(.*)", powered     [     cors     for "10": requests [   [ rule   ], server",   to •    "http://localhost:5000/assets/$2" "(.*)/config.json", "14": "https://fonts.googleapis.com/(.*)", popup   map improvements development },   health "enable   •  "(.*).min.js$", handling.   proxy   •  enable service", features   url js [ ### instead       analytics "ws://localhost:8765/socket/$1"   check "4": to   "use }     initial "https://maps.example.com/tiles/(.*)", error declarativenetrequest   true non-minified "localhost:3000",   support local   chrome local   files",   ##       "https://analytics.example.com/collect", domains "cors": debugging   json-based issues. cors         "mock with ], third-party   for         content         "https://(dev|staging).example.com/assets/(.*)", v1.0.0   "127.0.0.1:8000", - "http://localhost:8888/map-tiles/$1"       debugging",   violations,   a monitoring:   dev   network files", "https://api.example.com/v1/(.*)",   and     efficiently. "http://localhost:9090/mock-analytics" with rules
Related