add is_get and is_post to request