A web debugging proxy in Node. Also can be used to create fake JSON REST webservices.
To help intercept, change and debug web pages for web development. Frontline is a transparent web debugging proxy that can be used for any browser.
Currently Frontline only supports overriding/modifying a single Url.
npm install frontline
All available options are listed below. Make sure you keep the format of this file in true Json format. I.e. keys enclosed in quotation marks.
|url||Set this URL to the URL that you want to modify. Frontline will ignore all other URLs.|
|headers||Specifying any headers here will override any headers returned by the original server.|
|body||Specifying any body will override any body returned by the original server.|
|oldUrl||Set this to the URL you want to find|
|newUrl||Set this to the URL you want to replace with|
proxyServer:port: 8050paths:rules: "Rules.json"
|port||The port that the proxy server runs on.|
|rules||The path to the rules file.|