correctly handle POST requests

.send instead of .query
Merge pull request #1 from nicholasareed/patch-1

correctly handle POST requests