Modified the log format of sendRequest. (format: METHOD URL ARGS)
Added the debug log for response.