Check for POST

Fixes #12.