Adding POST handler

Adding POST handler and test.