applied same toString method for http request interface