Skip to content

Instantly share code, notes, and snippets.

@gjyoung1974
Created August 9, 2017 23:36
Show Gist options
  • Save gjyoung1974/b36322f78dfe05018b76e241db40ef18 to your computer and use it in GitHub Desktop.
Save gjyoung1974/b36322f78dfe05018b76e241db40ef18 to your computer and use it in GitHub Desktop.
tokenize middle 6
#!/bin/bash
curl -s https://{some tenanant}.{some environment}.verygoodproxy.com/post \
-H "Content-type: application/json" \
-d '{"CCN": "'$1'"}' | jq --raw-output '.data' | jq --raw-output .CCN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment