Send additional headers to a local http server with a simple proxy
git clone git@github.com:coltonTB/node-modheader.git
npm install node-modheader
Option 1 - Import header rules from modheader chrome extension
- Click on the modheader browser extension
- Click on the button with three vertical buttons in the top right
- Click 'Export Profile'
- Save this data in node-modheader/profiles/{profilename}.json
node node-modheader -u profilename
- Write some json
- Save it in /profiles as {profilename}.json (see node-modheader/profiles/example.json)
node node-modheader -u profilename
- Save a json object somehwere
node node-modheader -f ../path/to/your/file.json
-u choose a user profile by name
-f choose a file location for header definitions
-t choose the port of the process you would like to tunnel to
-p choose the port that node-modheaders listens on