Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- listening on 127.0.0.1:3000
- { signin: true,
- password: 'ttrotiprtireoptretirot',
- token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU3MjA2YmVkNGVmODFiM2Y0NTY4YzEzYyIsInVpZCI6IjU2ZDQyNmFlZmY5ZDBiOWY1ODY0NTE0NCIsImFjdGlvbiI6MSwiZXhwIjoxNDYxNzQ0MzczfQ.uHpf6jTil8SDXPOzAmbY9F3mKgpykTeaNAnpZ3yRL60' }
- IncomingMessage {
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: true,
- endEmitted: true,
- reading: false,
- sync: true,
- needReadable: false,
- emittedReadable: false,
- readableListening: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null,
- resumeScheduled: false },
- readable: false,
- domain: null,
- _events:
- { end: [ [Function: responseOnEnd], [Function], [Function], [Function] ],
- close: [ [Function], [Function] ],
- data: [Function],
- error: [Function] },
- _eventsCount: 4,
- _maxListeners: undefined,
- socket:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 06 82 02 01 01 02 02 03 03 04 02 c0 30 04 20 de 7b ad 1c 11 90 42 2f 66 f0 94 54 7e 13 27 3a 26 a2 a9 08 65 ce a7 d5 9c 44 22 6b aa c8 18 8b 04 ... >,
- NPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Object] },
- _eventsCount: 9,
- _connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'beta-api.gojob.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null,
- resumeScheduled: false },
- readable: false,
- domain: null,
- _maxListeners: 0,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: true,
- ended: true,
- finished: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: true,
- errorEmitted: false },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- bytesRead: 364,
- _bytesDispatched: 102,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- ssl:
- TLSWrap {
- _externalStream: {},
- fd: -22,
- _parent: [Object],
- _parentWrap: undefined,
- _secureContext: [Object],
- reading: true,
- owner: [Circular],
- onread: [Function: noop],
- writeQueueSize: 1,
- onhandshakestart: [Function],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: bound ],
- onerror: [Function] },
- server: undefined,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 4,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _header: 'PUT /user/forgot-password HTTP/1.1\r\nhost: beta-api.gojob.com\r\ncontent-length: 0\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- agent: [Object],
- socketPath: undefined,
- method: 'PUT',
- path: '/user/forgot-password',
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- connection:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 06 82 02 01 01 02 02 03 03 04 02 c0 30 04 20 de 7b ad 1c 11 90 42 2f 66 f0 94 54 7e 13 27 3a 26 a2 a9 08 65 ce a7 d5 9c 44 22 6b aa c8 18 8b 04 ... >,
- NPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Object] },
- _eventsCount: 9,
- _connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'beta-api.gojob.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null,
- resumeScheduled: false },
- readable: false,
- domain: null,
- _maxListeners: 0,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: true,
- ended: true,
- finished: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: true,
- errorEmitted: false },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- bytesRead: 364,
- _bytesDispatched: 102,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- ssl:
- TLSWrap {
- _externalStream: {},
- fd: -22,
- _parent: [Object],
- _parentWrap: undefined,
- _secureContext: [Object],
- reading: true,
- owner: [Circular],
- onread: [Function: noop],
- writeQueueSize: 1,
- onhandshakestart: [Function],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: bound ],
- onerror: [Function] },
- server: undefined,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 4,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _header: 'PUT /user/forgot-password HTTP/1.1\r\nhost: beta-api.gojob.com\r\ncontent-length: 0\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- agent: [Object],
- socketPath: undefined,
- method: 'PUT',
- path: '/user/forgot-password',
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers:
- { server: 'nginx/1.6.2',
- date: 'Wed, 27 Apr 2016 07:57:23 GMT',
- 'content-type': 'application/json; charset=utf-8',
- 'content-length': '31',
- connection: 'close',
- 'x-content-type-options': 'nosniff',
- 'x-frame-options': 'SAMEORIGIN',
- 'x-download-options': 'noopen',
- 'x-xss-protection': '1; mode=block',
- etag: 'W/"1f-vVsaoHAqzW9xyq/KldP1qw"' },
- rawHeaders:
- [ 'Server',
- 'nginx/1.6.2',
- 'Date',
- 'Wed, 27 Apr 2016 07:57:23 GMT',
- 'Content-Type',
- 'application/json; charset=utf-8',
- 'Content-Length',
- '31',
- 'Connection',
- 'close',
- 'X-Content-Type-Options',
- 'nosniff',
- 'X-Frame-Options',
- 'SAMEORIGIN',
- 'X-Download-Options',
- 'noopen',
- 'X-XSS-Protection',
- '1; mode=block',
- 'ETag',
- 'W/"1f-vVsaoHAqzW9xyq/KldP1qw"' ],
- trailers: {},
- rawTrailers: [],
- upgrade: false,
- url: '',
- method: null,
- statusCode: 401,
- statusMessage: 'Unauthorized',
- client:
- TLSSocket {
- _tlsOptions:
- { pipe: null,
- secureContext: [Object],
- isServer: false,
- requestCert: true,
- rejectUnauthorized: true,
- session: <Buffer 30 82 06 82 02 01 01 02 02 03 03 04 02 c0 30 04 20 de 7b ad 1c 11 90 42 2f 66 f0 94 54 7e 13 27 3a 26 a2 a9 08 65 ce a7 d5 9c 44 22 6b aa c8 18 8b 04 ... >,
- NPNProtocols: undefined,
- requestOCSP: undefined },
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events:
- { close: [Object],
- end: [Object],
- finish: [Function: onSocketFinish],
- _socketEnd: [Function: onSocketEnd],
- secure: [Function],
- free: [Function: onFree],
- agentRemove: [Function: onRemove],
- drain: [Function: ondrain],
- error: [Object] },
- _eventsCount: 9,
- _connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'beta-api.gojob.com',
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: false,
- endEmitted: false,
- reading: true,
- sync: false,
- needReadable: true,
- emittedReadable: false,
- readableListening: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null,
- resumeScheduled: false },
- readable: false,
- domain: null,
- _maxListeners: 0,
- _writableState:
- WritableState {
- objectMode: false,
- highWaterMark: 16384,
- needDrain: false,
- ending: true,
- ended: true,
- finished: true,
- decodeStrings: false,
- defaultEncoding: 'utf8',
- length: 0,
- writing: false,
- corked: 0,
- sync: false,
- bufferProcessing: false,
- onwrite: [Function],
- writecb: null,
- writelen: 0,
- bufferedRequest: null,
- lastBufferedRequest: null,
- pendingcb: 0,
- prefinished: true,
- errorEmitted: false },
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- bytesRead: 364,
- _bytesDispatched: 102,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- ssl:
- TLSWrap {
- _externalStream: {},
- fd: -22,
- _parent: [Object],
- _parentWrap: undefined,
- _secureContext: [Object],
- reading: true,
- owner: [Circular],
- onread: [Function: noop],
- writeQueueSize: 1,
- onhandshakestart: [Function],
- onhandshakedone: [Function: bound ],
- onocspresponse: [Function: bound ],
- onerror: [Function] },
- server: undefined,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 4,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Circular],
- connection: [Circular],
- _header: 'PUT /user/forgot-password HTTP/1.1\r\nhost: beta-api.gojob.com\r\ncontent-length: 0\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- agent: [Object],
- socketPath: undefined,
- method: 'PUT',
- path: '/user/forgot-password',
- parser: null,
- res: [Circular] },
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- _consuming: true,
- _dumped: false,
- req:
- ClientRequest {
- domain: null,
- _events:
- { socket: [Object],
- response: [Function: bound ],
- error: [Function: bound ],
- drain: [Function] },
- _eventsCount: 4,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: { 'content-length': false },
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- _connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'beta-api.gojob.com',
- _readableState: [Object],
- readable: false,
- domain: null,
- _maxListeners: 0,
- _writableState: [Object],
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- bytesRead: 364,
- _bytesDispatched: 102,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- ssl: [Object],
- server: undefined,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- connection:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: null,
- npnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- _connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'beta-api.gojob.com',
- _readableState: [Object],
- readable: false,
- domain: null,
- _maxListeners: 0,
- _writableState: [Object],
- writable: false,
- allowHalfOpen: false,
- destroyed: true,
- bytesRead: 364,
- _bytesDispatched: 102,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- ssl: [Object],
- server: undefined,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- read: [Function],
- _consuming: true,
- _idleNext: null,
- _idlePrev: null,
- _idleTimeout: -1 },
- _header: 'PUT /user/forgot-password HTTP/1.1\r\nhost: beta-api.gojob.com\r\ncontent-length: 0\r\nConnection: close\r\n\r\n',
- _headers: { host: 'beta-api.gojob.com', 'content-length': 0 },
- _headerNames: { host: 'host', 'content-length': 'content-length' },
- agent:
- Agent {
- domain: null,
- _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,
- method: 'PUT',
- path: '/user/forgot-password',
- parser: null,
- res: [Circular] },
- request:
- Request {
- domain: null,
- _events:
- { error: [Function: bound ],
- complete: [Function: bound ],
- pipe: [Function],
- end: [Object],
- data: [Function] },
- _eventsCount: 5,
- _maxListeners: undefined,
- signin: true,
- password: 'totototo',
- token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU3MjA2YmVkNGVmODFiM2Y0NTY4YzEzYyIsInVpZCI6IjU2ZDQyNmFlZmY5ZDBiOWY1ODY0NTE0NCIsImFjdGlvbiI6MSwiZXhwIjoxNDYxNzQ0MzczfQ.uHpf6jTil8SDXPOzAmbY9F3mKgpykTeaNAnpZ3yRL60',
- uri:
- Url {
- protocol: 'https:',
- slashes: true,
- auth: null,
- host: 'beta-api.gojob.com',
- port: 443,
- hostname: 'beta-api.gojob.com',
- hash: null,
- search: null,
- query: null,
- pathname: '/user/forgot-password',
- path: '/user/forgot-password',
- href: 'https://beta-api.gojob.com/user/forgot-password' },
- callback: [Function],
- method: 'PUT',
- 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: '7b7b6ccf-7be6-40b4-a495-9b0a47472d1e',
- chunked: false,
- body: null },
- _redirect:
- Redirect {
- request: [Circular],
- followRedirect: true,
- followRedirects: true,
- followAllRedirects: false,
- allowRedirect: [Function],
- maxRedirects: 10,
- redirects: [],
- redirectsFollowed: 0,
- removeRefererHeader: false },
- _tunnel:
- Tunnel {
- request: [Circular],
- proxyHeaderWhiteList: [Object],
- proxyHeaderExclusiveList: [] },
- headers: { 'content-length': 0 },
- setHeader: [Function],
- hasHeader: [Function],
- getHeader: [Function],
- removeHeader: [Function],
- localAddress: undefined,
- pool: {},
- dests: [],
- __isRequestRequest: true,
- _callback: [Function],
- proxy: null,
- tunnel: true,
- setHost: true,
- originalCookieHeader: undefined,
- _disableCookies: true,
- _jar: undefined,
- port: 443,
- host: 'beta-api.gojob.com',
- path: '/user/forgot-password',
- httpModule:
- { Server: [Object],
- createServer: [Function],
- globalAgent: [Object],
- Agent: [Object],
- request: [Function],
- get: [Function] },
- agentClass: { [Function: Agent] super_: [Object] },
- agent:
- Agent {
- domain: null,
- _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://beta-api.gojob.com/user/forgot-password',
- req:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 4,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: false,
- _removedHeader: [Object],
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Object],
- connection: [Object],
- _header: 'PUT /user/forgot-password HTTP/1.1\r\nhost: beta-api.gojob.com\r\ncontent-length: 0\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- agent: [Object],
- socketPath: undefined,
- method: 'PUT',
- path: '/user/forgot-password',
- parser: null,
- res: [Circular] },
- ntick: true,
- response: [Circular],
- originalHost: 'beta-api.gojob.com',
- originalHostHeaderName: 'host',
- responseContent: [Circular],
- _destdata: true,
- _ended: true,
- _callbackCalled: true },
- toJSON: [Function: responseToJSON],
- caseless:
- Caseless {
- dict:
- { server: 'nginx/1.6.2',
- date: 'Wed, 27 Apr 2016 07:57:23 GMT',
- 'content-type': 'application/json; charset=utf-8',
- 'content-length': '31',
- connection: 'close',
- 'x-content-type-options': 'nosniff',
- 'x-frame-options': 'SAMEORIGIN',
- 'x-download-options': 'noopen',
- 'x-xss-protection': '1; mode=block',
- etag: 'W/"1f-vVsaoHAqzW9xyq/KldP1qw"' } },
- read: [Function],
- body: '{"message":"Erreur de session"}' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement