npm i
npm startUse jq to work directly with .har files.
jq '{"har": .}' < example.har | curl -X POST \
-H "Content-Type: application/json" \
--data @- \
localhost:3000 > scrub.harUse without jq by converting .har files into .json files.
curl -X POST \
-H "Content-Type: application/json" \
-L --post301 \
--data @example-har.json \
localhost:3000 > scrub.jsonnpm run deployjq '{"har": .}' < example.har | curl -X POST \
-H "Content-Type: application/json" \
-L --post301 \
--data @- \
api.har.tools > scrub.harcurl -X POST \
-H "Content-Type: application/json" \
-L --post301 \
--data @example-har.json \
api.har.tools > scrub.json