Adds post methods to REST API