add post method to jsonhttp