Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- { status: 200,
- statusText: '',
- headers:
- { 'x-content-type-options': 'nosniff',
- 'x-xss-protection': '1; mode=block',
- 'cache-control': 'no-cache, no-store, max-age=0, must-revalidate',
- pragma: 'no-cache',
- expires: '0',
- 'x-frame-options': 'DENY',
- 'content-type': 'application/json;charset=UTF-8',
- 'transfer-encoding': 'chunked',
- date: 'Sun, 21 Jul 2019 13:52:12 GMT',
- connection: 'close' },
- config:
- { url: 'http://103.82.197.68:8443/signin',
- method: 'post',
- data:
- '{"username":"lamlv03","password":"123conma","deviceId":"123"}',
- headers:
- { Accept: 'application/json, text/plain, */*',
- 'Content-Type': 'application/json;charset=utf-8',
- 'User-Agent': 'axios/0.19.0',
- 'Content-Length': 61 },
- transformRequest: [ [Function: transformRequest] ],
- transformResponse: [ [Function: transformResponse] ],
- timeout: 0,
- adapter: [Function: httpAdapter],
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus] },
- 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: null,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket:
- Socket {
- connecting: false,
- _hadError: false,
- _handle: [TCP],
- _parent: null,
- _host: null,
- _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)]: 69,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0 },
- connection:
- Socket {
- connecting: false,
- _hadError: false,
- _handle: [TCP],
- _parent: null,
- _host: null,
- _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)]: 69,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0 },
- _header:
- 'POST /signin HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json;charset=utf-8\r\nUser-Agent: axios/0.19.0\r\nContent-Length: 61\r\nHost: 103.82.197.68:8443\r\nConnection: close\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: '/signin',
- _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: 200,
- statusMessage: '',
- client: [Socket],
- _consuming: true,
- _dumped: false,
- req: [Circular],
- responseUrl: 'http://103.82.197.68:8443/signin',
- 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: 61,
- _requestBodyBuffers: [],
- _onNativeResponse: [Function],
- _currentRequest: [Circular],
- _currentUrl: 'http://103.82.197.68:8443/signin' },
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]:
- [Object: null prototype] {
- accept: [Array],
- 'content-type': [Array],
- 'user-agent': [Array],
- 'content-length': [Array],
- host: [Array] } },
- data:
- { userInfo:
- { uid: 4,
- username: 'lamlv03',
- phoneNumber: null,
- fullname: 'ahihi111',
- birthday: null,
- avatar: null,
- email: null,
- gender: 'MALE',
- type: 'ADMIN',
- status: 'NOT_ACTIVATE',
- parentId: 0,
- territoryId: 0,
- createdAt: 1563361104000,
- updatedAt: 1563449489000 },
- token:
- { token:
- 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0IiwiaWF0IjoxNTYzNzEwNjc2LCJleHAiOjE1NjM3NTM4NzYsInVzZXJfc3RhdHVzIjowLCJ1c2VyX3R5cGUiOjAsInVzZXJfbmFtZSI6ImxhbWx2MDMifQ.PByHQF6pKi2EfY-1s-PZuKoPRDZ46h8Y_l_8jBSEi8g',
- expiredDate: 1563753876000 },
- territory: null } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement