Skip to content

Instantly share code, notes, and snippets.

@booo
Created January 29, 2015 12:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save booo/be051b926b2c6e30c27d to your computer and use it in GitHub Desktop.
Save booo/be051b926b2c6e30c27d to your computer and use it in GitHub Desktop.
owm_delete.sh
_rev=$(curl "http://api.openwifimap.net/db/$1" \
| python -c 'import json,sys;print(json.load(sys.stdin)["_rev"])')
curl -X DELETE "http://openwifimap.net/openwifimap/$1?rev=$_rev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment