Actually use POST method in "post" helper function

It took me a while to figure out why my POST requests where giving unexpected results, until I found that they were actually GET requests. A simple mistake?