Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here is the response from the server IncomingMessage {
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { 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,
- emitClose: true,
- destroyed: false,
- defaultEncoding: 'utf8',
- awaitDrain: 0,
- readingMore: true,
- decoder: null,
- encoding: null },
- readable: false,
- _events:
- { end: [ [Function: responseOnEnd], [Function] ],
- close: [ [Function], [Function] ],
- data: [Function],
- error: [Function] },
- _eventsCount: 4,
- _maxListeners: undefined,
- socket:
- TLSSocket {
- _tlsOptions:
- { pipe: false,
- secureContext: [SecureContext],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'mystakingwallet.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Array],
- end: [Function: onReadableStreamEnd],
- secure: [Function: onConnectSecure],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener],
- finish: [Function] },
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- _parent: null,
- _host: 'mystakingwallet.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { 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,
- emitClose: false,
- destroyed: false,
- defaultEncoding: 'utf8',
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: true,
- _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,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- _events: [Object],
- _eventsCount: 5,
- _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: [Circular],
- connection: [Circular],
- _header:
- 'POST /api/discord/wallets HTTP/1.1\r\nhost: mystakingwallet.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 88\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/api/discord/wallets',
- _ended: true,
- res: [Circular],
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- [Symbol(res)]:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- [Symbol(asyncId)]: 744,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]:
- { rejectUnauthorized: true,
- ciphers:
- 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
- checkServerIdentity: [Function: checkServerIdentity],
- minDHSize: 1024,
- encoding: null,
- _agentKey: 'mystakingwallet.com:443::::::::::::::::',
- href: 'https://mystakingwallet.com/api/discord/wallets',
- _started: true,
- agent: [Agent],
- agentClass: [Function],
- httpModule: [Object],
- _json: true,
- path: null,
- host: 'mystakingwallet.com',
- port: 443,
- _jar: undefined,
- _disableCookies: true,
- originalCookieHeader: undefined,
- setHost: true,
- tunnel: true,
- proxy: null,
- uri: [Url],
- _callback: [Function],
- __isRequestRequest: true,
- dests: [],
- pool: {},
- localAddress: undefined,
- removeHeader: [Function],
- getHeader: [Function],
- hasHeader: [Function],
- setHeader: [Function],
- headers: [Object],
- _tunnel: [Tunnel],
- _redirect: [Redirect],
- _multipart: [Multipart],
- _oauth: [OAuth],
- _auth: [Auth],
- _qs: [Querystring],
- explicitMethod: true,
- writable: true,
- readable: true,
- callback: [Function],
- body:
- '{"bot":"dummybottoken","mswId":"5b204ede130b1a00146398af","userId":"534993223949484033"}',
- method: 'POST',
- _maxListeners: undefined,
- _eventsCount: 3,
- _events: [Object],
- _defaultAgent: [Agent],
- servername: 'mystakingwallet.com',
- singleUse: true } },
- connection:
- TLSSocket {
- _tlsOptions:
- { pipe: false,
- secureContext: [SecureContext],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'mystakingwallet.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Array],
- end: [Function: onReadableStreamEnd],
- secure: [Function: onConnectSecure],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener],
- finish: [Function] },
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- _parent: null,
- _host: 'mystakingwallet.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { 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,
- emitClose: false,
- destroyed: false,
- defaultEncoding: 'utf8',
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: true,
- _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,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- _events: [Object],
- _eventsCount: 5,
- _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: [Circular],
- connection: [Circular],
- _header:
- 'POST /api/discord/wallets HTTP/1.1\r\nhost: mystakingwallet.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 88\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/api/discord/wallets',
- _ended: true,
- res: [Circular],
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- [Symbol(res)]:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- [Symbol(asyncId)]: 744,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]:
- { rejectUnauthorized: true,
- ciphers:
- 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
- checkServerIdentity: [Function: checkServerIdentity],
- minDHSize: 1024,
- encoding: null,
- _agentKey: 'mystakingwallet.com:443::::::::::::::::',
- href: 'https://mystakingwallet.com/api/discord/wallets',
- _started: true,
- agent: [Agent],
- agentClass: [Function],
- httpModule: [Object],
- _json: true,
- path: null,
- host: 'mystakingwallet.com',
- port: 443,
- _jar: undefined,
- _disableCookies: true,
- originalCookieHeader: undefined,
- setHost: true,
- tunnel: true,
- proxy: null,
- uri: [Url],
- _callback: [Function],
- __isRequestRequest: true,
- dests: [],
- pool: {},
- localAddress: undefined,
- removeHeader: [Function],
- getHeader: [Function],
- hasHeader: [Function],
- setHeader: [Function],
- headers: [Object],
- _tunnel: [Tunnel],
- _redirect: [Redirect],
- _multipart: [Multipart],
- _oauth: [OAuth],
- _auth: [Auth],
- _qs: [Querystring],
- explicitMethod: true,
- writable: true,
- readable: true,
- callback: [Function],
- body:
- '{"bot":"dummybottoken","mswId":"5b204ede130b1a00146398af","userId":"534993223949484033"}',
- method: 'POST',
- _maxListeners: undefined,
- _eventsCount: 3,
- _events: [Object],
- _defaultAgent: [Agent],
- servername: 'mystakingwallet.com',
- singleUse: true } },
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers:
- { server: 'nginx/1.14.0 (Ubuntu)',
- date: 'Tue, 22 Jan 2019 03:04:43 GMT',
- 'content-type': 'application/json; charset=utf-8',
- 'content-length': '27',
- connection: 'close',
- 'x-dns-prefetch-control': 'off',
- 'x-frame-options': 'SAMEORIGIN',
- 'strict-transport-security': 'max-age=15552000; includeSubDomains',
- 'x-download-options': 'noopen',
- 'x-content-type-options': 'nosniff',
- 'x-xss-protection': '1; mode=block',
- 'access-control-allow-origin': '*',
- 'access-control-allow-credentials': 'true',
- etag: 'W/"1b-w4O8U+0Ll+sSArmfAX18RvhWpiQ"',
- vary: 'Accept-Encoding' },
- rawHeaders:
- [ 'Server',
- 'nginx/1.14.0 (Ubuntu)',
- 'Date',
- 'Tue, 22 Jan 2019 03:04:43 GMT',
- 'Content-Type',
- 'application/json; charset=utf-8',
- 'Content-Length',
- '27',
- 'Connection',
- 'close',
- 'X-DNS-Prefetch-Control',
- 'off',
- 'X-Frame-Options',
- 'SAMEORIGIN',
- 'Strict-Transport-Security',
- 'max-age=15552000; includeSubDomains',
- 'X-Download-Options',
- 'noopen',
- 'X-Content-Type-Options',
- 'nosniff',
- 'X-XSS-Protection',
- '1; mode=block',
- 'Access-Control-Allow-Origin',
- '*',
- 'Access-Control-Allow-Credentials',
- 'true',
- 'ETag',
- 'W/"1b-w4O8U+0Ll+sSArmfAX18RvhWpiQ"',
- 'Vary',
- 'Accept-Encoding' ],
- trailers: {},
- rawTrailers: [],
- aborted: false,
- upgrade: false,
- url: '',
- method: null,
- statusCode: 401,
- statusMessage: 'Unauthorized',
- client:
- TLSSocket {
- _tlsOptions:
- { pipe: false,
- secureContext: [SecureContext],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: undefined,
- ALPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'mystakingwallet.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Array],
- end: [Function: onReadableStreamEnd],
- secure: [Function: onConnectSecure],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Function: socketErrorListener],
- finish: [Function] },
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- _parent: null,
- _host: 'mystakingwallet.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: BufferList { 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,
- emitClose: false,
- destroyed: false,
- defaultEncoding: 'utf8',
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null },
- readable: true,
- _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,
- bufferedRequestCount: 0,
- corkedRequestsFree: [Object] },
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- _events: [Object],
- _eventsCount: 5,
- _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: [Circular],
- connection: [Circular],
- _header:
- 'POST /api/discord/wallets HTTP/1.1\r\nhost: mystakingwallet.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 88\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/api/discord/wallets',
- _ended: true,
- res: [Circular],
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- [Symbol(res)]:
- TLSWrap {
- _parent: [TCP],
- _parentWrap: undefined,
- _secureContext: [SecureContext],
- reading: true,
- owner: [Circular],
- onread: [Function: onread],
- onhandshakestart: [Function: noop],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: onocspresponse],
- onerror: [Function: onerror] },
- [Symbol(asyncId)]: 744,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]:
- { rejectUnauthorized: true,
- ciphers:
- 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA',
- checkServerIdentity: [Function: checkServerIdentity],
- minDHSize: 1024,
- encoding: null,
- _agentKey: 'mystakingwallet.com:443::::::::::::::::',
- href: 'https://mystakingwallet.com/api/discord/wallets',
- _started: true,
- agent: [Agent],
- agentClass: [Function],
- httpModule: [Object],
- _json: true,
- path: null,
- host: 'mystakingwallet.com',
- port: 443,
- _jar: undefined,
- _disableCookies: true,
- originalCookieHeader: undefined,
- setHost: true,
- tunnel: true,
- proxy: null,
- uri: [Url],
- _callback: [Function],
- __isRequestRequest: true,
- dests: [],
- pool: {},
- localAddress: undefined,
- removeHeader: [Function],
- getHeader: [Function],
- hasHeader: [Function],
- setHeader: [Function],
- headers: [Object],
- _tunnel: [Tunnel],
- _redirect: [Redirect],
- _multipart: [Multipart],
- _oauth: [OAuth],
- _auth: [Auth],
- _qs: [Querystring],
- explicitMethod: true,
- writable: true,
- readable: true,
- callback: [Function],
- body:
- '{"bot":"dummybottoken","mswId":"5b204ede130b1a00146398af","userId":"534993223949484033"}',
- method: 'POST',
- _maxListeners: undefined,
- _eventsCount: 3,
- _events: [Object],
- _defaultAgent: [Agent],
- servername: 'mystakingwallet.com',
- singleUse: true } },
- _consuming: false,
- _dumped: false,
- req:
- ClientRequest {
- _events:
- { socket: [Function],
- response: [Function: bound ],
- error: [Function: bound ],
- drain: [Function],
- prefinish: [Function: requestOnPrefinish] },
- _eventsCount: 5,
- _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:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'mystakingwallet.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle: [TLSWrap],
- _parent: null,
- _host: 'mystakingwallet.com',
- _readableState: [ReadableState],
- readable: true,
- _maxListeners: undefined,
- _writableState: [WritableState],
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: [TLSWrap],
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- [Symbol(res)]: [TLSWrap],
- [Symbol(asyncId)]: 744,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]: [Object] },
- connection:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'mystakingwallet.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 8,
- connecting: false,
- _hadError: false,
- _handle: [TLSWrap],
- _parent: null,
- _host: 'mystakingwallet.com',
- _readableState: [ReadableState],
- readable: true,
- _maxListeners: undefined,
- _writableState: [WritableState],
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: [TLSWrap],
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- [Symbol(res)]: [TLSWrap],
- [Symbol(asyncId)]: 744,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]: [Object] },
- _header:
- 'POST /api/discord/wallets HTTP/1.1\r\nhost: mystakingwallet.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 88\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent:
- Agent {
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/api/discord/wallets',
- _ended: true,
- res: [Circular],
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]:
- { host: [Array],
- accept: [Array],
- 'content-type': [Array],
- 'content-length': [Array] } },
- request:
- Request {
- _events:
- { error: [Function: bound ],
- complete: [Function: bound ],
- pipe: [Function],
- data: [Function],
- end: [Function] },
- _eventsCount: 5,
- _maxListeners: undefined,
- method: 'POST',
- body:
- '{"bot":"dummybottoken","mswId":"5b204ede130b1a00146398af","userId":"534993223949484033"}',
- callback: [Function],
- readable: true,
- writable: true,
- explicitMethod: true,
- _qs:
- Querystring {
- request: [Circular],
- lib: [Object],
- useQuerystring: undefined,
- parseOptions: {},
- stringifyOptions: {} },
- _auth:
- Auth {
- request: [Circular],
- hasAuth: false,
- sentAuth: false,
- bearerToken: null,
- user: null,
- pass: null },
- _oauth: OAuth { request: [Circular], params: null },
- _multipart:
- Multipart {
- request: [Circular],
- boundary: '69fad983-cd05-4a77-82a1-7a810ebca236',
- chunked: false,
- body: null },
- _redirect:
- Redirect {
- request: [Circular],
- followRedirect: true,
- followRedirects: true,
- followAllRedirects: false,
- followOriginalHttpMethod: false,
- allowRedirect: [Function],
- maxRedirects: 10,
- redirects: [],
- redirectsFollowed: 0,
- removeRefererHeader: false },
- _tunnel:
- Tunnel {
- request: [Circular],
- proxyHeaderWhiteList: [Array],
- proxyHeaderExclusiveList: [] },
- headers:
- { accept: 'application/json',
- 'content-type': 'application/json',
- 'content-length': 88 },
- setHeader: [Function],
- hasHeader: [Function],
- getHeader: [Function],
- removeHeader: [Function],
- localAddress: undefined,
- pool: {},
- dests: [],
- __isRequestRequest: true,
- _callback: [Function],
- uri:
- Url {
- protocol: 'https:',
- slashes: true,
- auth: null,
- host: 'mystakingwallet.com',
- port: 443,
- hostname: 'mystakingwallet.com',
- hash: null,
- search: null,
- query: null,
- pathname: '/api/discord/wallets',
- path: '/api/discord/wallets',
- href: 'https://mystakingwallet.com/api/discord/wallets' },
- proxy: null,
- tunnel: true,
- setHost: true,
- originalCookieHeader: undefined,
- _disableCookies: true,
- _jar: undefined,
- port: 443,
- host: 'mystakingwallet.com',
- path: '/api/discord/wallets',
- _json: true,
- httpModule:
- { Agent: [Function],
- globalAgent: [Agent],
- Server: [Function],
- createServer: [Function: createServer],
- get: [Function: get],
- request: [Function: request] },
- agentClass: { [Function: Agent] super_: [Function] },
- agent:
- Agent {
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- _started: true,
- href: 'https://mystakingwallet.com/api/discord/wallets',
- req:
- ClientRequest {
- _events: [Object],
- _eventsCount: 5,
- _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: [TLSSocket],
- connection: [TLSSocket],
- _header:
- 'POST /api/discord/wallets HTTP/1.1\r\nhost: mystakingwallet.com\r\naccept: application/json\r\ncontent-type: application/json\r\ncontent-length: 88\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'POST',
- path: '/api/discord/wallets',
- _ended: true,
- res: [Circular],
- aborted: undefined,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- ntick: true,
- response: [Circular],
- originalHost: 'mystakingwallet.com',
- originalHostHeaderName: 'host',
- responseContent: [Circular],
- _destdata: true,
- _ended: true,
- _callbackCalled: true },
- toJSON: [Function: responseToJSON],
- caseless:
- Caseless {
- dict:
- { server: 'nginx/1.14.0 (Ubuntu)',
- date: 'Tue, 22 Jan 2019 03:04:43 GMT',
- 'content-type': 'application/json; charset=utf-8',
- 'content-length': '27',
- connection: 'close',
- 'x-dns-prefetch-control': 'off',
- 'x-frame-options': 'SAMEORIGIN',
- 'strict-transport-security': 'max-age=15552000; includeSubDomains',
- 'x-download-options': 'noopen',
- 'x-content-type-options': 'nosniff',
- 'x-xss-protection': '1; mode=block',
- 'access-control-allow-origin': '*',
- 'access-control-allow-credentials': 'true',
- etag: 'W/"1b-w4O8U+0Ll+sSArmfAX18RvhWpiQ"',
- vary: 'Accept-Encoding' } },
- body: { message: 'Invalid token' } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement