Skip to content

Instantly share code, notes, and snippets.

@wh13371
Created March 18, 2022 12:21
Show Gist options
  • Save wh13371/284912960b1bf7eca98e74cbc4c01277 to your computer and use it in GitHub Desktop.
Save wh13371/284912960b1bf7eca98e74cbc4c01277 to your computer and use it in GitHub Desktop.
use jq to delete data from a .har file
cat my.har | jq 'del(.log.entries[].response.content.text)' | jq 'del(.log.entries[].request.headers[])'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment