refactor client response handling
add post method
update post to but params in the query, not body