updated to support json instead of urlencoded
Merge branch 'master' of github.com:wfreeman/caused