Post method implemented, tests added for POST