correctly handle POST requests

.send instead of .query