fix #1: add support for POST requests