to_s to http method