First implementation of POST method.