#

当在浏览器访问阿里云失败的时候,如何获取错误码和错误提示。下面是一个典型的浏览器端错误。我们分析这个错误,会发现错误隐藏在e.response里。

{
    Error: Request failed with status code 400
    at createError(/var/www / html / lovearth - xdua2 - browser - sdk / node_modules / axios / lib / core / createError.js: 16: 15)
    at settle(/var/www / html / lovearth - xdua2 - browser - sdk / node_modules / axios / lib / core / settle.js: 18: 12)
    at IncomingMessage.handleStreamEnd(/var/www / html / lovearth - xdua2 - browser - sdk / node_modules / axios / lib / adapters / http.js: 201: 11)
    at IncomingMessage.emit(events.js: 203: 15)
    at endReadableNT(_stream_readable.js: 1129: 12)
    at process._tickCallback(internal / process / next_tick.js: 63: 19)
    config: {
        adapter: [Function: httpAdapter],
        transformRequest: {
            '0': [Function: transformRequest]
        },
        transformResponse: {
            '0': [Function: transformResponse]
        },
        timeout: 5000,
        xsrfCookieName: 'XSRF-TOKEN',
        xsrfHeaderName: 'X-XSRF-TOKEN',
        maxContentLength: -1,
        validateStatus: [Function: validateStatus],
        headers: {
            Accept: 'application/json, text/plain, */*',
            'Content-Type': 'application/x-www-form-urlencoded',
            'x-ca-timestamp': 1578754785558,
            'x-ca-version': 1,
            'x-ca-key': '24772094',
            'x-ca-nonce': 'b51a9656-16bf-485c-bae4-29d9b3403600',
            'x-ca-stage': 'RELEASE',
            authorization: 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw',
            'x-ca-signature-headers': 'x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version',
            'x-ca-signature': 'LxwOhq1pvg5xukBhWfANYf6JpI9p0cwkLim47OfbbzQ=',
            'User-Agent': 'axios/0.18.0'
        },
        method: 'post',
        url: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login',
        data: undefined,
        params: {
            by: 'tel',
            ustr: '+86-15810419011',
            pwd: 'a906449d5769fa7361d7ecc6aa3f6d28',
            shop: 'A3bdXNT3',
            role: 'god'
        }
    },
    request: ClientRequest {
        _events: [Object: null prototype] {
            socket: [Function],
            abort: [Function],
            aborted: [Function],
            error: [Function],
            timeout: [Function],
            prefinish: [Function: requestOnPrefinish]
        },
        _eventsCount: 6,
        _maxListeners: undefined,
        output: [],
        outputEncodings: [],
        outputCallbacks: [],
        outputSize: 0,
        writable: true,
        _last: true,
        chunkedEncoding: false,
        shouldKeepAlive: false,
        useChunkedEncodingByDefault: true,
        sendDate: false,
        _removedConnection: false,
        _removedContLen: false,
        _removedTE: false,
        _contentLength: 0,
        _hasBody: true,
        _trailer: '',
        finished: true,
        _headerSent: true,
        socket: Socket {
            connecting: false,
            _hadError: false,
            _handle: [TCP],
            _parent: null,
            _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
            _readableState: [ReadableState],
            readable: true,
            _events: [Object],
            _eventsCount: 7,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: false,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null,
            parser: null,
            _httpMessage: [Circular],
            [Symbol(asyncId)]: 8,
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0
        },
        connection: Socket {
            connecting: false,
            _hadError: false,
            _handle: [TCP],
            _parent: null,
            _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
            _readableState: [ReadableState],
            readable: true,
            _events: [Object],
            _eventsCount: 7,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: false,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null,
            parser: null,
            _httpMessage: [Circular],
            [Symbol(asyncId)]: 8,
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0
        },
        _header: 'POST /login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded\r\nx-ca-timestamp: 1578754785558\r\nx-ca-version: 1\r\nx-ca-key: 24772094\r\nx-ca-nonce: b51a9656-16bf-485c-bae4-29d9b3403600\r\nx-ca-stage: RELEASE\r\nauthorization: eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw\r\nx-ca-signature-headers: x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version\r\nx-ca-signature: LxwOhq1pvg5xukBhWfANYf6JpI9p0cwkLim47OfbbzQ=\r\nUser-Agent: axios/0.18.0\r\nHost: 0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
        _onPendingData: [Function: noopPendingOutput],
        agent: Agent {
            _events: [Object],
            _eventsCount: 1,
            _maxListeners: undefined,
            defaultPort: 80,
            protocol: 'http:',
            options: [Object],
            requests: {},
            sockets: [Object],
            freeSockets: {},
            keepAliveMsecs: 1000,
            keepAlive: false,
            maxSockets: Infinity,
            maxFreeSockets: 256
        },
        socketPath: undefined,
        timeout: undefined,
        method: 'POST',
        path: '/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
        _ended: true,
        res: IncomingMessage {
            _readableState: [ReadableState],
            readable: false,
            _events: [Object],
            _eventsCount: 3,
            _maxListeners: undefined,
            socket: [Socket],
            connection: [Socket],
            httpVersionMajor: 1,
            httpVersionMinor: 1,
            httpVersion: '1.1',
            complete: true,
            headers: [Object],
            rawHeaders: [Array],
            trailers: {},
            rawTrailers: [],
            aborted: false,
            upgrade: false,
            url: '',
            method: null,
            statusCode: 400,
            statusMessage: 'Bad Request',
            client: [Socket],
            _consuming: false,
            _dumped: false,
            req: [Circular],
            responseUrl: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
            redirects: []
        },
        aborted: undefined,
        timeoutCb: null,
        upgradeOrConnect: false,
        parser: null,
        maxHeadersCount: null,
        _redirectable: Writable {
            _writableState: [WritableState],
            writable: true,
            _events: [Object],
            _eventsCount: 2,
            _maxListeners: undefined,
            _options: [Object],
            _redirectCount: 0,
            _redirects: [],
            _requestBodyLength: 0,
            _requestBodyBuffers: [],
            _onNativeResponse: [Function],
            _currentRequest: [Circular],
            _currentUrl: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god'
        },
        [Symbol(isCorked)]: false,
        [Symbol(outHeadersKey)]: [Object: null prototype] {
            accept: [Array],
            'content-type': [Array],
            'x-ca-timestamp': [Array],
            'x-ca-version': [Array],
            'x-ca-key': [Array],
            'x-ca-nonce': [Array],
            'x-ca-stage': [Array],
            authorization: [Array],
            'x-ca-signature-headers': [Array],
            'x-ca-signature': [Array],
            'user-agent': [Array],
            host: [Array]
        }
    },
    response: {
        status: 400,
        statusText: 'Bad Request',
        headers: {
            date: 'Sat, 11 Jan 2020 14:59:45 GMT',
            'content-type': 'application/oct-stream',
            'content-length': '0',
            connection: 'close',
            'x-ca-error-message': 'Parameter `ustr` is required',
            server: 'Kaede/3.5.1.144 (bj001wz54)',
            'x-ca-error-code': 'I400MP',
            'x-ca-request-id': 'B44A5727-1000-44D9-93C2-2266A5D3A124'
        },
        config: {
            adapter: [Function: httpAdapter],
            transformRequest: [Object],
            transformResponse: [Object],
            timeout: 5000,
            xsrfCookieName: 'XSRF-TOKEN',
            xsrfHeaderName: 'X-XSRF-TOKEN',
            maxContentLength: -1,
            validateStatus: [Function: validateStatus],
            headers: [Object],
            method: 'post',
            url: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login',
            data: undefined,
            params: [Object]
        },
        request: ClientRequest {
            _events: [Object],
            _eventsCount: 6,
            _maxListeners: undefined,
            output: [],
            outputEncodings: [],
            outputCallbacks: [],
            outputSize: 0,
            writable: true,
            _last: true,
            chunkedEncoding: false,
            shouldKeepAlive: false,
            useChunkedEncodingByDefault: true,
            sendDate: false,
            _removedConnection: false,
            _removedContLen: false,
            _removedTE: false,
            _contentLength: 0,
            _hasBody: true,
            _trailer: '',
            finished: true,
            _headerSent: true,
            socket: [Socket],
            connection: [Socket],
            _header: 'POST /login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded\r\nx-ca-timestamp: 1578754785558\r\nx-ca-version: 1\r\nx-ca-key: 24772094\r\nx-ca-nonce: b51a9656-16bf-485c-bae4-29d9b3403600\r\nx-ca-stage: RELEASE\r\nauthorization: eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw\r\nx-ca-signature-headers: x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version\r\nx-ca-signature: LxwOhq1pvg5xukBhWfANYf6JpI9p0cwkLim47OfbbzQ=\r\nUser-Agent: axios/0.18.0\r\nHost: 0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
            _onPendingData: [Function: noopPendingOutput],
            agent: [Agent],
            socketPath: undefined,
            timeout: undefined,
            method: 'POST',
            path: '/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
            _ended: true,
            res: [IncomingMessage],
            aborted: undefined,
            timeoutCb: null,
            upgradeOrConnect: false,
            parser: null,
            maxHeadersCount: null,
            _redirectable: [Writable],
            [Symbol(isCorked)]: false,
            [Symbol(outHeadersKey)]: [Object]
        },
        data: ''
    }
}

res.config

{
    "transformRequest": {},
    "transformResponse": {},
    "timeout": 5000,
    "xsrfCookieName": "XSRF-TOKEN",
    "xsrfHeaderName": "X-XSRF-TOKEN",
    "maxContentLength": -1,
    "headers": {
        "Accept": "application/json, text/plain, */*",
        "Content-Type": "application/x-www-form-urlencoded",
        "x-ca-timestamp": 1578755346533,
        "x-ca-version": 1,
        "x-ca-key": "24772094",
        "x-ca-nonce": "c9029403-5443-4d1d-847e-66b59c3d80a0",
        "x-ca-stage": "RELEASE",
        "authorization": "eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw",
        "x-ca-signature-headers": "x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version",
        "x-ca-signature": "gL7VNz0SLCtBp7Rdi1Arb7rHS1VhqxJsHv/v0AUOk1Y=",
        "User-Agent": "axios/0.18.0"
    },
    "method": "post",
    "url": "http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login",
    "params": {
        "by": "tel",
        "ustr": "+86-15810419011",
        "pwd": "a906449d5769fa7361d7ecc6aa3f6d28",
        "shop": "A3bdXNT3",
        "role": "god"
    }
}

res.request

{
    ClientRequest {
        _events: [Object: null prototype] {
            socket: [Function],
            abort: [Function],
            aborted: [Function],
            error: [Function],
            timeout: [Function],
            prefinish: [Function: requestOnPrefinish]
        },
        _eventsCount: 6,
        _maxListeners: undefined,
        output: [],
        outputEncodings: [],
        outputCallbacks: [],
        outputSize: 0,
        writable: true,
        _last: true,
        chunkedEncoding: false,
        shouldKeepAlive: false,
        useChunkedEncodingByDefault: true,
        sendDate: false,
        _removedConnection: false,
        _removedContLen: false,
        _removedTE: false,
        _contentLength: 0,
        _hasBody: true,
        _trailer: '',
        finished: true,
        _headerSent: true,
        socket: Socket {
            connecting: false,
            _hadError: false,
            _handle: TCP {
                reading: true,
                onread: [Function: onStreamRead],
                onconnection: null,
                [Symbol(owner)]: [Circular]
            },
            _parent: null,
            _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
            _readableState: ReadableState {
                objectMode: false,
                highWaterMark: 16384,
                buffer: BufferList {
                    head: null,
                    tail: null,
                    length: 0
                },
                length: 0,
                pipes: null,
                pipesCount: 0,
                flowing: true,
                ended: false,
                endEmitted: false,
                reading: true,
                sync: false,
                needReadable: true,
                emittedReadable: false,
                readableListening: false,
                resumeScheduled: false,
                paused: false,
                emitClose: false,
                autoDestroy: false,
                destroyed: false,
                defaultEncoding: 'utf8',
                awaitDrain: 0,
                readingMore: false,
                decoder: null,
                encoding: null
            },
            readable: true,
            _events: [Object: null prototype] {
                end: [Function: onReadableStreamEnd],
                free: [Function: onFree],
                close: [Array],
                agentRemove: [Function: onRemove],
                drain: [Function: ondrain],
                error: [Function: socketErrorListener],
                finish: [Function]
            },
            _eventsCount: 7,
            _maxListeners: undefined,
            _writableState: WritableState {
                objectMode: false,
                highWaterMark: 16384,
                finalCalled: true,
                needDrain: false,
                ending: true,
                ended: true,
                finished: false,
                destroyed: false,
                decodeStrings: false,
                defaultEncoding: 'utf8',
                length: 0,
                writing: false,
                corked: 0,
                sync: false,
                bufferProcessing: false,
                onwrite: [Function: bound onwrite],
                writecb: null,
                writelen: 0,
                bufferedRequest: null,
                lastBufferedRequest: null,
                pendingcb: 1,
                prefinished: false,
                errorEmitted: false,
                emitClose: false,
                autoDestroy: false,
                bufferedRequestCount: 0,
                corkedRequestsFree: [Object]
            },
            writable: false,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null,
            parser: null,
            _httpMessage: [Circular],
            [Symbol(asyncId)]: 8,
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0
        },
        connection: Socket {
            connecting: false,
            _hadError: false,
            _handle: TCP {
                reading: true,
                onread: [Function: onStreamRead],
                onconnection: null,
                [Symbol(owner)]: [Circular]
            },
            _parent: null,
            _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
            _readableState: ReadableState {
                objectMode: false,
                highWaterMark: 16384,
                buffer: BufferList {
                    head: null,
                    tail: null,
                    length: 0
                },
                length: 0,
                pipes: null,
                pipesCount: 0,
                flowing: true,
                ended: false,
                endEmitted: false,
                reading: true,
                sync: false,
                needReadable: true,
                emittedReadable: false,
                readableListening: false,
                resumeScheduled: false,
                paused: false,
                emitClose: false,
                autoDestroy: false,
                destroyed: false,
                defaultEncoding: 'utf8',
                awaitDrain: 0,
                readingMore: false,
                decoder: null,
                encoding: null
            },
            readable: true,
            _events: [Object: null prototype] {
                end: [Function: onReadableStreamEnd],
                free: [Function: onFree],
                close: [Array],
                agentRemove: [Function: onRemove],
                drain: [Function: ondrain],
                error: [Function: socketErrorListener],
                finish: [Function]
            },
            _eventsCount: 7,
            _maxListeners: undefined,
            _writableState: WritableState {
                objectMode: false,
                highWaterMark: 16384,
                finalCalled: true,
                needDrain: false,
                ending: true,
                ended: true,
                finished: false,
                destroyed: false,
                decodeStrings: false,
                defaultEncoding: 'utf8',
                length: 0,
                writing: false,
                corked: 0,
                sync: false,
                bufferProcessing: false,
                onwrite: [Function: bound onwrite],
                writecb: null,
                writelen: 0,
                bufferedRequest: null,
                lastBufferedRequest: null,
                pendingcb: 1,
                prefinished: false,
                errorEmitted: false,
                emitClose: false,
                autoDestroy: false,
                bufferedRequestCount: 0,
                corkedRequestsFree: [Object]
            },
            writable: false,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null,
            parser: null,
            _httpMessage: [Circular],
            [Symbol(asyncId)]: 8,
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0
        },
        _header: 'POST /login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded\r\nx-ca-timestamp: 1578755518796\r\nx-ca-version: 1\r\nx-ca-key: 24772094\r\nx-ca-nonce: f7cd7481-10ab-4190-94bd-95bff7ca8add\r\nx-ca-stage: RELEASE\r\nauthorization: eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw\r\nx-ca-signature-headers: x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version\r\nx-ca-signature: qvhuB4Tw7v8BgsgpA18LJ+wa2mSRHQKeTLzjA2gy6KQ=\r\nUser-Agent: axios/0.18.0\r\nHost: 0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
        _onPendingData: [Function: noopPendingOutput],
        agent: Agent {
            _events: [Object: null prototype] {
                free: [Function]
            },
            _eventsCount: 1,
            _maxListeners: undefined,
            defaultPort: 80,
            protocol: 'http:',
            options: {
                path: null
            },
            requests: {},
            sockets: {
                '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com:80:': [Array]
            },
            freeSockets: {},
            keepAliveMsecs: 1000,
            keepAlive: false,
            maxSockets: Infinity,
            maxFreeSockets: 256
        },
        socketPath: undefined,
        timeout: undefined,
        method: 'POST',
        path: '/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
        _ended: true,
        res: IncomingMessage {
            _readableState: ReadableState {
                objectMode: false,
                highWaterMark: 16384,
                buffer: BufferList {
                    head: null,
                    tail: null,
                    length: 0
                },
                length: 0,
                pipes: null,
                pipesCount: 0,
                flowing: true,
                ended: true,
                endEmitted: true,
                reading: false,
                sync: true,
                needReadable: false,
                emittedReadable: false,
                readableListening: false,
                resumeScheduled: false,
                paused: false,
                emitClose: true,
                autoDestroy: false,
                destroyed: false,
                defaultEncoding: 'utf8',
                awaitDrain: 0,
                readingMore: true,
                decoder: null,
                encoding: null
            },
            readable: false,
            _events: [Object: null prototype] {
                end: [Array],
                data: [Function: handleStreamData],
                error: [Function: handleStreamError]
            },
            _eventsCount: 3,
            _maxListeners: undefined,
            socket: Socket {
                connecting: false,
                _hadError: false,
                _handle: [TCP],
                _parent: null,
                _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
                _readableState: [ReadableState],
                readable: true,
                _events: [Object],
                _eventsCount: 7,
                _maxListeners: undefined,
                _writableState: [WritableState],
                writable: false,
                allowHalfOpen: false,
                _sockname: null,
                _pendingData: null,
                _pendingEncoding: '',
                server: null,
                _server: null,
                parser: null,
                _httpMessage: [Circular],
                [Symbol(asyncId)]: 8,
                [Symbol(lastWriteQueueSize)]: 0,
                [Symbol(timeout)]: null,
                [Symbol(kBytesRead)]: 0,
                [Symbol(kBytesWritten)]: 0
            },
            connection: Socket {
                connecting: false,
                _hadError: false,
                _handle: [TCP],
                _parent: null,
                _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
                _readableState: [ReadableState],
                readable: true,
                _events: [Object],
                _eventsCount: 7,
                _maxListeners: undefined,
                _writableState: [WritableState],
                writable: false,
                allowHalfOpen: false,
                _sockname: null,
                _pendingData: null,
                _pendingEncoding: '',
                server: null,
                _server: null,
                parser: null,
                _httpMessage: [Circular],
                [Symbol(asyncId)]: 8,
                [Symbol(lastWriteQueueSize)]: 0,
                [Symbol(timeout)]: null,
                [Symbol(kBytesRead)]: 0,
                [Symbol(kBytesWritten)]: 0
            },
            httpVersionMajor: 1,
            httpVersionMinor: 1,
            httpVersion: '1.1',
            complete: true,
            headers: {
                date: 'Sat, 11 Jan 2020 15:11:58 GMT',
                'content-type': 'application/oct-stream',
                'content-length': '0',
                connection: 'close',
                'x-ca-error-message': 'Parameter `ustr` is required',
                server: 'Kaede/3.5.1.142 (bj001wz53)',
                'x-ca-error-code': 'I400MP',
                'x-ca-request-id': '81781D78-A093-4FAC-9F1F-25BBD5DC651A'
            },
            rawHeaders: ['Date',
                'Sat, 11 Jan 2020 15:11:58 GMT',
                'Content-Type',
                'application/oct-stream',
                'Content-Length',
                '0',
                'Connection',
                'close',
                'X-Ca-Error-Message',
                'Parameter `ustr` is required',
                'Server',
                'Kaede/3.5.1.142 (bj001wz53)',
                'X-Ca-Error-Code',
                'I400MP',
                'X-Ca-Request-Id',
                '81781D78-A093-4FAC-9F1F-25BBD5DC651A'
            ],
            trailers: {},
            rawTrailers: [],
            aborted: false,
            upgrade: false,
            url: '',
            method: null,
            statusCode: 400,
            statusMessage: 'Bad Request',
            client: Socket {
                connecting: false,
                _hadError: false,
                _handle: [TCP],
                _parent: null,
                _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
                _readableState: [ReadableState],
                readable: true,
                _events: [Object],
                _eventsCount: 7,
                _maxListeners: undefined,
                _writableState: [WritableState],
                writable: false,
                allowHalfOpen: false,
                _sockname: null,
                _pendingData: null,
                _pendingEncoding: '',
                server: null,
                _server: null,
                parser: null,
                _httpMessage: [Circular],
                [Symbol(asyncId)]: 8,
                [Symbol(lastWriteQueueSize)]: 0,
                [Symbol(timeout)]: null,
                [Symbol(kBytesRead)]: 0,
                [Symbol(kBytesWritten)]: 0
            },
            _consuming: false,
            _dumped: false,
            req: [Circular],
            responseUrl: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
            redirects: []
        },
        aborted: undefined,
        timeoutCb: null,
        upgradeOrConnect: false,
        parser: null,
        maxHeadersCount: null,
        _redirectable: Writable {
            _writableState: WritableState {
                objectMode: false,
                highWaterMark: 16384,
                finalCalled: false,
                needDrain: false,
                ending: false,
                ended: false,
                finished: false,
                destroyed: false,
                decodeStrings: true,
                defaultEncoding: 'utf8',
                length: 0,
                writing: false,
                corked: 0,
                sync: true,
                bufferProcessing: false,
                onwrite: [Function: bound onwrite],
                writecb: null,
                writelen: 0,
                bufferedRequest: null,
                lastBufferedRequest: null,
                pendingcb: 0,
                prefinished: false,
                errorEmitted: false,
                emitClose: true,
                autoDestroy: false,
                bufferedRequestCount: 0,
                corkedRequestsFree: [Object]
            },
            writable: true,
            _events: [Object: null prototype] {
                response: [Function: handleResponse],
                error: [Function: handleRequestError]
            },
            _eventsCount: 2,
            _maxListeners: undefined,
            _options: {
                protocol: 'http:',
                maxRedirects: 21,
                maxBodyLength: 10485760,
                path: '/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
                method: 'post',
                headers: [Object],
                agent: undefined,
                auth: undefined,
                hostname: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
                port: null,
                nativeProtocols: [Object],
                pathname: '/login',
                search: '?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god'
            },
            _redirectCount: 0,
            _redirects: [],
            _requestBodyLength: 0,
            _requestBodyBuffers: [],
            _onNativeResponse: [Function],
            _currentRequest: [Circular],
            _currentUrl: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god'
        },
        [Symbol(isCorked)]: false,
        [Symbol(outHeadersKey)]: [Object: null prototype] {
            accept: ['Accept', 'application/json, text/plain, */*'],
            'content-type': ['Content-Type', 'application/x-www-form-urlencoded'],
            'x-ca-timestamp': ['x-ca-timestamp', 1578755518796],
            'x-ca-version': ['x-ca-version', 1],
            'x-ca-key': ['x-ca-key', '24772094'],
            'x-ca-nonce': ['x-ca-nonce', 'f7cd7481-10ab-4190-94bd-95bff7ca8add'],
            'x-ca-stage': ['x-ca-stage', 'RELEASE'],
            authorization: ['authorization',
                'eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw'
            ],
            'x-ca-signature-headers': ['x-ca-signature-headers',
                'x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version'
            ],
            'x-ca-signature': ['x-ca-signature',
                'qvhuB4Tw7v8BgsgpA18LJ+wa2mSRHQKeTLzjA2gy6KQ='
            ],
            'user-agent': ['User-Agent', 'axios/0.18.0'],
            host: ['Host',
                '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com'
            ]
        }
    }

res.response

{
    status: 400,
    statusText: 'Bad Request',
    headers: {
        date: 'Sat, 11 Jan 2020 15:13:16 GMT',
        'content-type': 'application/oct-stream',
        'content-length': '0',
        connection: 'close',
        'x-ca-error-message': 'Parameter `ustr` is required',
        server: 'Kaede/3.5.1.144 (bj001wz54)',
        'x-ca-error-code': 'I400MP',
        'x-ca-request-id': 'E87ECB35-59B9-44BD-8655-E5224FDDCA7D'
    },
    config: {
        adapter: [Function: httpAdapter],
        transformRequest: {
            '0': [Function: transformRequest]
        },
        transformResponse: {
            '0': [Function: transformResponse]
        },
        timeout: 5000,
        xsrfCookieName: 'XSRF-TOKEN',
        xsrfHeaderName: 'X-XSRF-TOKEN',
        maxContentLength: -1,
        validateStatus: [Function: validateStatus],
        headers: {
            Accept: 'application/json, text/plain, */*',
            'Content-Type': 'application/x-www-form-urlencoded',
            'x-ca-timestamp': 1578755596142,
            'x-ca-version': 1,
            'x-ca-key': '24772094',
            'x-ca-nonce': 'fcfcf0a6-a41a-401a-9830-ca6a1668008b',
            'x-ca-stage': 'RELEASE',
            authorization: 'eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw',
            'x-ca-signature-headers': 'x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version',
            'x-ca-signature': 'WWZgaKp3yBITCHOSv9kMJ2OW5HJBkLHCg830eJPjp98=',
            'User-Agent': 'axios/0.18.0'
        },
        method: 'post',
        url: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login',
        data: undefined,
        params: {
            by: 'tel',
            ustr: '+86-15810419011',
            pwd: 'a906449d5769fa7361d7ecc6aa3f6d28',
            shop: 'A3bdXNT3',
            role: 'god'
        }
    },
    request: ClientRequest {
        _events: [Object: null prototype] {
            socket: [Function],
            abort: [Function],
            aborted: [Function],
            error: [Function],
            timeout: [Function],
            prefinish: [Function: requestOnPrefinish]
        },
        _eventsCount: 6,
        _maxListeners: undefined,
        output: [],
        outputEncodings: [],
        outputCallbacks: [],
        outputSize: 0,
        writable: true,
        _last: true,
        chunkedEncoding: false,
        shouldKeepAlive: false,
        useChunkedEncodingByDefault: true,
        sendDate: false,
        _removedConnection: false,
        _removedContLen: false,
        _removedTE: false,
        _contentLength: 0,
        _hasBody: true,
        _trailer: '',
        finished: true,
        _headerSent: true,
        socket: Socket {
            connecting: false,
            _hadError: false,
            _handle: [TCP],
            _parent: null,
            _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
            _readableState: [ReadableState],
            readable: true,
            _events: [Object],
            _eventsCount: 7,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: false,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null,
            parser: null,
            _httpMessage: [Circular],
            [Symbol(asyncId)]: 8,
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0
        },
        connection: Socket {
            connecting: false,
            _hadError: false,
            _handle: [TCP],
            _parent: null,
            _host: '0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com',
            _readableState: [ReadableState],
            readable: true,
            _events: [Object],
            _eventsCount: 7,
            _maxListeners: undefined,
            _writableState: [WritableState],
            writable: false,
            allowHalfOpen: false,
            _sockname: null,
            _pendingData: null,
            _pendingEncoding: '',
            server: null,
            _server: null,
            parser: null,
            _httpMessage: [Circular],
            [Symbol(asyncId)]: 8,
            [Symbol(lastWriteQueueSize)]: 0,
            [Symbol(timeout)]: null,
            [Symbol(kBytesRead)]: 0,
            [Symbol(kBytesWritten)]: 0
        },
        _header: 'POST /login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/x-www-form-urlencoded\r\nx-ca-timestamp: 1578755596142\r\nx-ca-version: 1\r\nx-ca-key: 24772094\r\nx-ca-nonce: fcfcf0a6-a41a-401a-9830-ca6a1668008b\r\nx-ca-stage: RELEASE\r\nauthorization: eyJhbGciOiJSUzI1NiIsImtpZCI6ImI1MGIxZWZmZGMwMzVlMjg2OWI2YzQ1ZjMzYmRmNWQ3In0.eyJpYXQiOjE1Nzg3NTMzODYsIm5iZiI6MTU3ODc1MzM4NiwiaXNzIjoieGR1YS5jb20iLCJleHAiOjE4OTQxMTMzODYsImF1ZCI6ImFIRVZZaEUxIiwic3ViIjoiQW5vTnltdVMiLCJqdGkiOiIxMjM0NTY3OCIsImlwbSI6IjAuMC4wLjAvMCIsImRldiI6IioiLCJhcGkiOiIqIiwiY2xyIjoiWCIsIm93biI6IkR0NW12cnRVIiwidGlkIjoiRmlSc3RUa24iLCJsZ24iOiJudWxsIiwidHlwIjoiQSIsInpvbmUiOiJYZFVhWGR1QSIsImNvcnAiOiJYZFVhWGR1QSIsInNob3AiOiJYZFVhWGR1QSIsInJvbGUiOiJudWxsIiwicnVsZSI6Im51bGwifQ.sciSJVJdkEh7w1onorhoxFdygi6tKlawA2VcM-rghBDaGfQ-ytE0Zs1eOiA08wi9Oz54vXXrjh2oR4foyeJnFgM7R-rDxD-QgtFTwrtqttzVOQ4_5CGXPnPngbco_PM2FCFersM3BPyATG8_x-M0ODY7alQ_kx4rOBkwva9nIY4nIwBoJ0A9tlP54hoQWBIfPaYZM-NEnd89lHBmMdqcYtcqp0brwBYTZjvTWmP-eZu05tFIP-njUR-uSiDRgJV88N1UYP9hkNub57Gd626n6MSAGHtCLLqeP9KwLtD_4bUAm2Dtc096mAGRi4B6vhnJYAuOIzxcgRqyELA7XUUsZw\r\nx-ca-signature-headers: x-ca-key,x-ca-nonce,x-ca-stage,x-ca-timestamp,x-ca-version\r\nx-ca-signature: WWZgaKp3yBITCHOSv9kMJ2OW5HJBkLHCg830eJPjp98=\r\nUser-Agent: axios/0.18.0\r\nHost: 0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com\r\nConnection: close\r\nContent-Length: 0\r\n\r\n',
        _onPendingData: [Function: noopPendingOutput],
        agent: Agent {
            _events: [Object],
            _eventsCount: 1,
            _maxListeners: undefined,
            defaultPort: 80,
            protocol: 'http:',
            options: [Object],
            requests: {},
            sockets: [Object],
            freeSockets: {},
            keepAliveMsecs: 1000,
            keepAlive: false,
            maxSockets: Infinity,
            maxFreeSockets: 256
        },
        socketPath: undefined,
        timeout: undefined,
        method: 'POST',
        path: '/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
        _ended: true,
        res: IncomingMessage {
            _readableState: [ReadableState],
            readable: false,
            _events: [Object],
            _eventsCount: 3,
            _maxListeners: undefined,
            socket: [Socket],
            connection: [Socket],
            httpVersionMajor: 1,
            httpVersionMinor: 1,
            httpVersion: '1.1',
            complete: true,
            headers: [Object],
            rawHeaders: [Array],
            trailers: {},
            rawTrailers: [],
            aborted: false,
            upgrade: false,
            url: '',
            method: null,
            statusCode: 400,
            statusMessage: 'Bad Request',
            client: [Socket],
            _consuming: false,
            _dumped: false,
            req: [Circular],
            responseUrl: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god',
            redirects: []
        },
        aborted: undefined,
        timeoutCb: null,
        upgradeOrConnect: false,
        parser: null,
        maxHeadersCount: null,
        _redirectable: Writable {
            _writableState: [WritableState],
            writable: true,
            _events: [Object],
            _eventsCount: 2,
            _maxListeners: undefined,
            _options: [Object],
            _redirectCount: 0,
            _redirects: [],
            _requestBodyLength: 0,
            _requestBodyBuffers: [],
            _onNativeResponse: [Function],
            _currentRequest: [Circular],
            _currentUrl: 'http://0acd08cfc49748dba03c1596c36b10e1-cn-beijing.alicloudapi.com/login?by=tel&ustr=%2B86-15810419011&pwd=a906449d5769fa7361d7ecc6aa3f6d28&shop=A3bdXNT3&role=god'
        },
        [Symbol(isCorked)]: false,
        [Symbol(outHeadersKey)]: [Object: null prototype] {
            accept: [Array],
            'content-type': [Array],
            'x-ca-timestamp': [Array],
            'x-ca-version': [Array],
            'x-ca-key': [Array],
            'x-ca-nonce': [Array],
            'x-ca-stage': [Array],
            authorization: [Array],
            'x-ca-signature-headers': [Array],
            'x-ca-signature': [Array],
            'user-agent': [Array],
            host: [Array]
        }
    },
    data: ''
}

results matching ""

    No results matching ""