added POST functions and test in main
Merge pull request #5 from ordrin/dev_eric

added POST functions and test in main
resolving merge conflicts