Added http post method and test