added setPost method for request service