Advertisement
Guest User

Untitled

a guest
Apr 27th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 24.23 KB | None | 0 0
  1. listening on 127.0.0.1:3000
  2. { signin: true,
  3.   password: 'ttrotiprtireoptretirot',
  4.   token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU3MjA2YmVkNGVmODFiM2Y0NTY4YzEzYyIsInVpZCI6IjU2ZDQyNmFlZmY5ZDBiOWY1ODY0NTE0NCIsImFjdGlvbiI6MSwiZXhwIjoxNDYxNzQ0MzczfQ.uHpf6jTil8SDXPOzAmbY9F3mKgpykTeaNAnpZ3yRL60' }
  5. IncomingMessage {
  6.   _readableState:
  7.    ReadableState {
  8.      objectMode: false,
  9.      highWaterMark: 16384,
  10.      buffer: [],
  11.      length: 0,
  12.      pipes: null,
  13.      pipesCount: 0,
  14.      flowing: true,
  15.      ended: true,
  16.      endEmitted: true,
  17.      reading: false,
  18.      sync: true,
  19.      needReadable: false,
  20.      emittedReadable: false,
  21.      readableListening: false,
  22.      defaultEncoding: 'utf8',
  23.      ranOut: false,
  24.      awaitDrain: 0,
  25.      readingMore: false,
  26.      decoder: null,
  27.      encoding: null,
  28.      resumeScheduled: false },
  29.   readable: false,
  30.   domain: null,
  31.   _events:
  32.    { end: [ [Function: responseOnEnd], [Function], [Function], [Function] ],
  33.      close: [ [Function], [Function] ],
  34.      data: [Function],
  35.      error: [Function] },
  36.   _eventsCount: 4,
  37.   _maxListeners: undefined,
  38.   socket:
  39.    TLSSocket {
  40.      _tlsOptions:
  41.       { pipe: null,
  42.         secureContext: [Object],
  43.         isServer: false,
  44.         requestCert: true,
  45.         rejectUnauthorized: true,
  46.         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 ... >,
  47.         NPNProtocols: undefined,
  48.         requestOCSP: undefined },
  49.      _secureEstablished: true,
  50.      _securePending: false,
  51.      _newSessionPending: false,
  52.      _controlReleased: true,
  53.      _SNICallback: null,
  54.      servername: null,
  55.      npnProtocol: false,
  56.      authorized: true,
  57.      authorizationError: null,
  58.      encrypted: true,
  59.      _events:
  60.       { close: [Object],
  61.         end: [Object],
  62.         finish: [Function: onSocketFinish],
  63.         _socketEnd: [Function: onSocketEnd],
  64.         secure: [Function],
  65.         free: [Function: onFree],
  66.         agentRemove: [Function: onRemove],
  67.         drain: [Function: ondrain],
  68.         error: [Object] },
  69.      _eventsCount: 9,
  70.      _connecting: false,
  71.      _hadError: false,
  72.      _handle: null,
  73.      _parent: null,
  74.      _host: 'beta-api.gojob.com',
  75.      _readableState:
  76.       ReadableState {
  77.         objectMode: false,
  78.         highWaterMark: 16384,
  79.         buffer: [],
  80.         length: 0,
  81.         pipes: null,
  82.         pipesCount: 0,
  83.         flowing: true,
  84.         ended: false,
  85.         endEmitted: false,
  86.         reading: true,
  87.         sync: false,
  88.         needReadable: true,
  89.         emittedReadable: false,
  90.         readableListening: false,
  91.         defaultEncoding: 'utf8',
  92.         ranOut: false,
  93.         awaitDrain: 0,
  94.         readingMore: false,
  95.         decoder: null,
  96.         encoding: null,
  97.         resumeScheduled: false },
  98.      readable: false,
  99.      domain: null,
  100.      _maxListeners: 0,
  101.      _writableState:
  102.       WritableState {
  103.         objectMode: false,
  104.         highWaterMark: 16384,
  105.         needDrain: false,
  106.         ending: true,
  107.         ended: true,
  108.         finished: true,
  109.         decodeStrings: false,
  110.         defaultEncoding: 'utf8',
  111.         length: 0,
  112.         writing: false,
  113.         corked: 0,
  114.         sync: false,
  115.         bufferProcessing: false,
  116.         onwrite: [Function],
  117.         writecb: null,
  118.         writelen: 0,
  119.         bufferedRequest: null,
  120.         lastBufferedRequest: null,
  121.         pendingcb: 0,
  122.         prefinished: true,
  123.         errorEmitted: false },
  124.      writable: false,
  125.      allowHalfOpen: false,
  126.      destroyed: true,
  127.      bytesRead: 364,
  128.      _bytesDispatched: 102,
  129.      _sockname: null,
  130.      _pendingData: null,
  131.      _pendingEncoding: '',
  132.      ssl:
  133.       TLSWrap {
  134.         _externalStream: {},
  135.         fd: -22,
  136.         _parent: [Object],
  137.         _parentWrap: undefined,
  138.         _secureContext: [Object],
  139.         reading: true,
  140.         owner: [Circular],
  141.         onread: [Function: noop],
  142.         writeQueueSize: 1,
  143.         onhandshakestart: [Function],
  144.         onhandshakedone: [Function: bound ],
  145.         onocspresponse: [Function: bound ],
  146.         onerror: [Function] },
  147.      server: undefined,
  148.      _requestCert: true,
  149.      _rejectUnauthorized: true,
  150.      parser: null,
  151.      _httpMessage:
  152.       ClientRequest {
  153.         domain: null,
  154.         _events: [Object],
  155.         _eventsCount: 4,
  156.         _maxListeners: undefined,
  157.         output: [],
  158.         outputEncodings: [],
  159.         outputCallbacks: [],
  160.         writable: true,
  161.         _last: true,
  162.         chunkedEncoding: false,
  163.         shouldKeepAlive: false,
  164.         useChunkedEncodingByDefault: true,
  165.         sendDate: false,
  166.         _removedHeader: [Object],
  167.         _contentLength: 0,
  168.         _hasBody: true,
  169.         _trailer: '',
  170.         finished: true,
  171.         _headerSent: true,
  172.         socket: [Circular],
  173.         connection: [Circular],
  174.         _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',
  175.         _headers: [Object],
  176.         _headerNames: [Object],
  177.         agent: [Object],
  178.         socketPath: undefined,
  179.         method: 'PUT',
  180.         path: '/user/forgot-password',
  181.         parser: null,
  182.         res: [Circular] },
  183.      read: [Function],
  184.      _consuming: true,
  185.      _idleNext: null,
  186.      _idlePrev: null,
  187.      _idleTimeout: -1 },
  188.   connection:
  189.    TLSSocket {
  190.      _tlsOptions:
  191.       { pipe: null,
  192.         secureContext: [Object],
  193.         isServer: false,
  194.         requestCert: true,
  195.         rejectUnauthorized: true,
  196.         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 ... >,
  197.         NPNProtocols: undefined,
  198.         requestOCSP: undefined },
  199.      _secureEstablished: true,
  200.      _securePending: false,
  201.      _newSessionPending: false,
  202.      _controlReleased: true,
  203.      _SNICallback: null,
  204.      servername: null,
  205.      npnProtocol: false,
  206.      authorized: true,
  207.      authorizationError: null,
  208.      encrypted: true,
  209.      _events:
  210.       { close: [Object],
  211.         end: [Object],
  212.         finish: [Function: onSocketFinish],
  213.         _socketEnd: [Function: onSocketEnd],
  214.         secure: [Function],
  215.         free: [Function: onFree],
  216.         agentRemove: [Function: onRemove],
  217.         drain: [Function: ondrain],
  218.         error: [Object] },
  219.      _eventsCount: 9,
  220.      _connecting: false,
  221.      _hadError: false,
  222.      _handle: null,
  223.      _parent: null,
  224.      _host: 'beta-api.gojob.com',
  225.      _readableState:
  226.       ReadableState {
  227.         objectMode: false,
  228.         highWaterMark: 16384,
  229.         buffer: [],
  230.         length: 0,
  231.         pipes: null,
  232.         pipesCount: 0,
  233.         flowing: true,
  234.         ended: false,
  235.         endEmitted: false,
  236.         reading: true,
  237.         sync: false,
  238.         needReadable: true,
  239.         emittedReadable: false,
  240.         readableListening: false,
  241.         defaultEncoding: 'utf8',
  242.         ranOut: false,
  243.         awaitDrain: 0,
  244.         readingMore: false,
  245.         decoder: null,
  246.         encoding: null,
  247.         resumeScheduled: false },
  248.      readable: false,
  249.      domain: null,
  250.      _maxListeners: 0,
  251.      _writableState:
  252.       WritableState {
  253.         objectMode: false,
  254.         highWaterMark: 16384,
  255.         needDrain: false,
  256.         ending: true,
  257.         ended: true,
  258.         finished: true,
  259.         decodeStrings: false,
  260.         defaultEncoding: 'utf8',
  261.         length: 0,
  262.         writing: false,
  263.         corked: 0,
  264.         sync: false,
  265.         bufferProcessing: false,
  266.         onwrite: [Function],
  267.         writecb: null,
  268.         writelen: 0,
  269.         bufferedRequest: null,
  270.         lastBufferedRequest: null,
  271.         pendingcb: 0,
  272.         prefinished: true,
  273.         errorEmitted: false },
  274.      writable: false,
  275.      allowHalfOpen: false,
  276.      destroyed: true,
  277.      bytesRead: 364,
  278.      _bytesDispatched: 102,
  279.      _sockname: null,
  280.      _pendingData: null,
  281.      _pendingEncoding: '',
  282.      ssl:
  283.       TLSWrap {
  284.         _externalStream: {},
  285.         fd: -22,
  286.         _parent: [Object],
  287.         _parentWrap: undefined,
  288.         _secureContext: [Object],
  289.         reading: true,
  290.         owner: [Circular],
  291.         onread: [Function: noop],
  292.         writeQueueSize: 1,
  293.         onhandshakestart: [Function],
  294.         onhandshakedone: [Function: bound ],
  295.         onocspresponse: [Function: bound ],
  296.         onerror: [Function] },
  297.      server: undefined,
  298.      _requestCert: true,
  299.      _rejectUnauthorized: true,
  300.      parser: null,
  301.      _httpMessage:
  302.       ClientRequest {
  303.         domain: null,
  304.         _events: [Object],
  305.         _eventsCount: 4,
  306.         _maxListeners: undefined,
  307.         output: [],
  308.         outputEncodings: [],
  309.         outputCallbacks: [],
  310.         writable: true,
  311.         _last: true,
  312.         chunkedEncoding: false,
  313.         shouldKeepAlive: false,
  314.         useChunkedEncodingByDefault: true,
  315.         sendDate: false,
  316.         _removedHeader: [Object],
  317.         _contentLength: 0,
  318.         _hasBody: true,
  319.         _trailer: '',
  320.         finished: true,
  321.         _headerSent: true,
  322.         socket: [Circular],
  323.         connection: [Circular],
  324.         _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',
  325.         _headers: [Object],
  326.         _headerNames: [Object],
  327.         agent: [Object],
  328.         socketPath: undefined,
  329.         method: 'PUT',
  330.         path: '/user/forgot-password',
  331.         parser: null,
  332.         res: [Circular] },
  333.      read: [Function],
  334.      _consuming: true,
  335.      _idleNext: null,
  336.      _idlePrev: null,
  337.      _idleTimeout: -1 },
  338.   httpVersionMajor: 1,
  339.   httpVersionMinor: 1,
  340.   httpVersion: '1.1',
  341.   complete: true,
  342.   headers:
  343.    { server: 'nginx/1.6.2',
  344.      date: 'Wed, 27 Apr 2016 07:57:23 GMT',
  345.      'content-type': 'application/json; charset=utf-8',
  346.      'content-length': '31',
  347.      connection: 'close',
  348.      'x-content-type-options': 'nosniff',
  349.      'x-frame-options': 'SAMEORIGIN',
  350.      'x-download-options': 'noopen',
  351.      'x-xss-protection': '1; mode=block',
  352.      etag: 'W/"1f-vVsaoHAqzW9xyq/KldP1qw"' },
  353.   rawHeaders:
  354.    [ 'Server',
  355.      'nginx/1.6.2',
  356.      'Date',
  357.      'Wed, 27 Apr 2016 07:57:23 GMT',
  358.      'Content-Type',
  359.      'application/json; charset=utf-8',
  360.      'Content-Length',
  361.      '31',
  362.      'Connection',
  363.      'close',
  364.      'X-Content-Type-Options',
  365.      'nosniff',
  366.      'X-Frame-Options',
  367.      'SAMEORIGIN',
  368.      'X-Download-Options',
  369.      'noopen',
  370.      'X-XSS-Protection',
  371.      '1; mode=block',
  372.      'ETag',
  373.      'W/"1f-vVsaoHAqzW9xyq/KldP1qw"' ],
  374.   trailers: {},
  375.   rawTrailers: [],
  376.   upgrade: false,
  377.   url: '',
  378.   method: null,
  379.   statusCode: 401,
  380.   statusMessage: 'Unauthorized',
  381.   client:
  382.    TLSSocket {
  383.      _tlsOptions:
  384.       { pipe: null,
  385.         secureContext: [Object],
  386.         isServer: false,
  387.         requestCert: true,
  388.         rejectUnauthorized: true,
  389.         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 ... >,
  390.         NPNProtocols: undefined,
  391.         requestOCSP: undefined },
  392.      _secureEstablished: true,
  393.      _securePending: false,
  394.      _newSessionPending: false,
  395.      _controlReleased: true,
  396.      _SNICallback: null,
  397.      servername: null,
  398.      npnProtocol: false,
  399.      authorized: true,
  400.      authorizationError: null,
  401.      encrypted: true,
  402.      _events:
  403.       { close: [Object],
  404.         end: [Object],
  405.         finish: [Function: onSocketFinish],
  406.         _socketEnd: [Function: onSocketEnd],
  407.         secure: [Function],
  408.         free: [Function: onFree],
  409.         agentRemove: [Function: onRemove],
  410.         drain: [Function: ondrain],
  411.         error: [Object] },
  412.      _eventsCount: 9,
  413.      _connecting: false,
  414.      _hadError: false,
  415.      _handle: null,
  416.      _parent: null,
  417.      _host: 'beta-api.gojob.com',
  418.      _readableState:
  419.       ReadableState {
  420.         objectMode: false,
  421.         highWaterMark: 16384,
  422.         buffer: [],
  423.         length: 0,
  424.         pipes: null,
  425.         pipesCount: 0,
  426.         flowing: true,
  427.         ended: false,
  428.         endEmitted: false,
  429.         reading: true,
  430.         sync: false,
  431.         needReadable: true,
  432.         emittedReadable: false,
  433.         readableListening: false,
  434.         defaultEncoding: 'utf8',
  435.         ranOut: false,
  436.         awaitDrain: 0,
  437.         readingMore: false,
  438.         decoder: null,
  439.         encoding: null,
  440.         resumeScheduled: false },
  441.      readable: false,
  442.      domain: null,
  443.      _maxListeners: 0,
  444.      _writableState:
  445.       WritableState {
  446.         objectMode: false,
  447.         highWaterMark: 16384,
  448.         needDrain: false,
  449.         ending: true,
  450.         ended: true,
  451.         finished: true,
  452.         decodeStrings: false,
  453.         defaultEncoding: 'utf8',
  454.         length: 0,
  455.         writing: false,
  456.         corked: 0,
  457.         sync: false,
  458.         bufferProcessing: false,
  459.         onwrite: [Function],
  460.         writecb: null,
  461.         writelen: 0,
  462.         bufferedRequest: null,
  463.         lastBufferedRequest: null,
  464.         pendingcb: 0,
  465.         prefinished: true,
  466.         errorEmitted: false },
  467.      writable: false,
  468.      allowHalfOpen: false,
  469.      destroyed: true,
  470.      bytesRead: 364,
  471.      _bytesDispatched: 102,
  472.      _sockname: null,
  473.      _pendingData: null,
  474.      _pendingEncoding: '',
  475.      ssl:
  476.       TLSWrap {
  477.         _externalStream: {},
  478.         fd: -22,
  479.         _parent: [Object],
  480.         _parentWrap: undefined,
  481.         _secureContext: [Object],
  482.         reading: true,
  483.         owner: [Circular],
  484.         onread: [Function: noop],
  485.         writeQueueSize: 1,
  486.         onhandshakestart: [Function],
  487.         onhandshakedone: [Function: bound ],
  488.         onocspresponse: [Function: bound ],
  489.         onerror: [Function] },
  490.      server: undefined,
  491.      _requestCert: true,
  492.      _rejectUnauthorized: true,
  493.      parser: null,
  494.      _httpMessage:
  495.       ClientRequest {
  496.         domain: null,
  497.         _events: [Object],
  498.         _eventsCount: 4,
  499.         _maxListeners: undefined,
  500.         output: [],
  501.         outputEncodings: [],
  502.         outputCallbacks: [],
  503.         writable: true,
  504.         _last: true,
  505.         chunkedEncoding: false,
  506.         shouldKeepAlive: false,
  507.         useChunkedEncodingByDefault: true,
  508.         sendDate: false,
  509.         _removedHeader: [Object],
  510.         _contentLength: 0,
  511.         _hasBody: true,
  512.         _trailer: '',
  513.         finished: true,
  514.         _headerSent: true,
  515.         socket: [Circular],
  516.         connection: [Circular],
  517.         _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',
  518.         _headers: [Object],
  519.         _headerNames: [Object],
  520.         agent: [Object],
  521.         socketPath: undefined,
  522.         method: 'PUT',
  523.         path: '/user/forgot-password',
  524.         parser: null,
  525.         res: [Circular] },
  526.      read: [Function],
  527.      _consuming: true,
  528.      _idleNext: null,
  529.      _idlePrev: null,
  530.      _idleTimeout: -1 },
  531.   _consuming: true,
  532.   _dumped: false,
  533.   req:
  534.    ClientRequest {
  535.      domain: null,
  536.      _events:
  537.       { socket: [Object],
  538.         response: [Function: bound ],
  539.         error: [Function: bound ],
  540.         drain: [Function] },
  541.      _eventsCount: 4,
  542.      _maxListeners: undefined,
  543.      output: [],
  544.      outputEncodings: [],
  545.      outputCallbacks: [],
  546.      writable: true,
  547.      _last: true,
  548.      chunkedEncoding: false,
  549.      shouldKeepAlive: false,
  550.      useChunkedEncodingByDefault: true,
  551.      sendDate: false,
  552.      _removedHeader: { 'content-length': false },
  553.      _contentLength: 0,
  554.      _hasBody: true,
  555.      _trailer: '',
  556.      finished: true,
  557.      _headerSent: true,
  558.      socket:
  559.       TLSSocket {
  560.         _tlsOptions: [Object],
  561.         _secureEstablished: true,
  562.         _securePending: false,
  563.         _newSessionPending: false,
  564.         _controlReleased: true,
  565.         _SNICallback: null,
  566.         servername: null,
  567.         npnProtocol: false,
  568.         authorized: true,
  569.         authorizationError: null,
  570.         encrypted: true,
  571.         _events: [Object],
  572.         _eventsCount: 9,
  573.         _connecting: false,
  574.         _hadError: false,
  575.         _handle: null,
  576.         _parent: null,
  577.         _host: 'beta-api.gojob.com',
  578.         _readableState: [Object],
  579.         readable: false,
  580.         domain: null,
  581.         _maxListeners: 0,
  582.         _writableState: [Object],
  583.         writable: false,
  584.         allowHalfOpen: false,
  585.         destroyed: true,
  586.         bytesRead: 364,
  587.         _bytesDispatched: 102,
  588.         _sockname: null,
  589.         _pendingData: null,
  590.         _pendingEncoding: '',
  591.         ssl: [Object],
  592.         server: undefined,
  593.         _requestCert: true,
  594.         _rejectUnauthorized: true,
  595.         parser: null,
  596.         _httpMessage: [Circular],
  597.         read: [Function],
  598.         _consuming: true,
  599.         _idleNext: null,
  600.         _idlePrev: null,
  601.         _idleTimeout: -1 },
  602.      connection:
  603.       TLSSocket {
  604.         _tlsOptions: [Object],
  605.         _secureEstablished: true,
  606.         _securePending: false,
  607.         _newSessionPending: false,
  608.         _controlReleased: true,
  609.         _SNICallback: null,
  610.         servername: null,
  611.         npnProtocol: false,
  612.         authorized: true,
  613.         authorizationError: null,
  614.         encrypted: true,
  615.         _events: [Object],
  616.         _eventsCount: 9,
  617.         _connecting: false,
  618.         _hadError: false,
  619.         _handle: null,
  620.         _parent: null,
  621.         _host: 'beta-api.gojob.com',
  622.         _readableState: [Object],
  623.         readable: false,
  624.         domain: null,
  625.         _maxListeners: 0,
  626.         _writableState: [Object],
  627.         writable: false,
  628.         allowHalfOpen: false,
  629.         destroyed: true,
  630.         bytesRead: 364,
  631.         _bytesDispatched: 102,
  632.         _sockname: null,
  633.         _pendingData: null,
  634.         _pendingEncoding: '',
  635.         ssl: [Object],
  636.         server: undefined,
  637.         _requestCert: true,
  638.         _rejectUnauthorized: true,
  639.         parser: null,
  640.         _httpMessage: [Circular],
  641.         read: [Function],
  642.         _consuming: true,
  643.         _idleNext: null,
  644.         _idlePrev: null,
  645.         _idleTimeout: -1 },
  646.      _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',
  647.      _headers: { host: 'beta-api.gojob.com', 'content-length': 0 },
  648.      _headerNames: { host: 'host', 'content-length': 'content-length' },
  649.      agent:
  650.       Agent {
  651.         domain: null,
  652.         _events: [Object],
  653.         _eventsCount: 1,
  654.         _maxListeners: undefined,
  655.         defaultPort: 443,
  656.         protocol: 'https:',
  657.         options: [Object],
  658.         requests: {},
  659.         sockets: [Object],
  660.         freeSockets: {},
  661.         keepAliveMsecs: 1000,
  662.         keepAlive: false,
  663.         maxSockets: Infinity,
  664.         maxFreeSockets: 256,
  665.         maxCachedSessions: 100,
  666.         _sessionCache: [Object] },
  667.      socketPath: undefined,
  668.      method: 'PUT',
  669.      path: '/user/forgot-password',
  670.      parser: null,
  671.      res: [Circular] },
  672.   request:
  673.    Request {
  674.      domain: null,
  675.      _events:
  676.       { error: [Function: bound ],
  677.         complete: [Function: bound ],
  678.         pipe: [Function],
  679.         end: [Object],
  680.         data: [Function] },
  681.      _eventsCount: 5,
  682.      _maxListeners: undefined,
  683.      signin: true,
  684.      password: 'totototo',
  685.      token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6IjU3MjA2YmVkNGVmODFiM2Y0NTY4YzEzYyIsInVpZCI6IjU2ZDQyNmFlZmY5ZDBiOWY1ODY0NTE0NCIsImFjdGlvbiI6MSwiZXhwIjoxNDYxNzQ0MzczfQ.uHpf6jTil8SDXPOzAmbY9F3mKgpykTeaNAnpZ3yRL60',
  686.      uri:
  687.       Url {
  688.         protocol: 'https:',
  689.         slashes: true,
  690.         auth: null,
  691.         host: 'beta-api.gojob.com',
  692.         port: 443,
  693.         hostname: 'beta-api.gojob.com',
  694.         hash: null,
  695.         search: null,
  696.         query: null,
  697.         pathname: '/user/forgot-password',
  698.         path: '/user/forgot-password',
  699.         href: 'https://beta-api.gojob.com/user/forgot-password' },
  700.      callback: [Function],
  701.      method: 'PUT',
  702.      readable: true,
  703.      writable: true,
  704.      explicitMethod: true,
  705.      _qs:
  706.       Querystring {
  707.         request: [Circular],
  708.         lib: [Object],
  709.         useQuerystring: undefined,
  710.         parseOptions: {},
  711.         stringifyOptions: {} },
  712.      _auth:
  713.       Auth {
  714.         request: [Circular],
  715.         hasAuth: false,
  716.         sentAuth: false,
  717.         bearerToken: null,
  718.         user: null,
  719.         pass: null },
  720.      _oauth: OAuth { request: [Circular], params: null },
  721.      _multipart:
  722.       Multipart {
  723.         request: [Circular],
  724.         boundary: '7b7b6ccf-7be6-40b4-a495-9b0a47472d1e',
  725.         chunked: false,
  726.         body: null },
  727.      _redirect:
  728.       Redirect {
  729.         request: [Circular],
  730.         followRedirect: true,
  731.         followRedirects: true,
  732.         followAllRedirects: false,
  733.         allowRedirect: [Function],
  734.         maxRedirects: 10,
  735.         redirects: [],
  736.         redirectsFollowed: 0,
  737.         removeRefererHeader: false },
  738.      _tunnel:
  739.       Tunnel {
  740.         request: [Circular],
  741.         proxyHeaderWhiteList: [Object],
  742.         proxyHeaderExclusiveList: [] },
  743.      headers: { 'content-length': 0 },
  744.      setHeader: [Function],
  745.      hasHeader: [Function],
  746.      getHeader: [Function],
  747.      removeHeader: [Function],
  748.      localAddress: undefined,
  749.      pool: {},
  750.      dests: [],
  751.      __isRequestRequest: true,
  752.      _callback: [Function],
  753.      proxy: null,
  754.      tunnel: true,
  755.      setHost: true,
  756.      originalCookieHeader: undefined,
  757.      _disableCookies: true,
  758.      _jar: undefined,
  759.      port: 443,
  760.      host: 'beta-api.gojob.com',
  761.      path: '/user/forgot-password',
  762.      httpModule:
  763.       { Server: [Object],
  764.         createServer: [Function],
  765.         globalAgent: [Object],
  766.         Agent: [Object],
  767.         request: [Function],
  768.         get: [Function] },
  769.      agentClass: { [Function: Agent] super_: [Object] },
  770.      agent:
  771.       Agent {
  772.         domain: null,
  773.         _events: [Object],
  774.         _eventsCount: 1,
  775.         _maxListeners: undefined,
  776.         defaultPort: 443,
  777.         protocol: 'https:',
  778.         options: [Object],
  779.         requests: {},
  780.         sockets: [Object],
  781.         freeSockets: {},
  782.         keepAliveMsecs: 1000,
  783.         keepAlive: false,
  784.         maxSockets: Infinity,
  785.         maxFreeSockets: 256,
  786.         maxCachedSessions: 100,
  787.         _sessionCache: [Object] },
  788.      _started: true,
  789.      href: 'https://beta-api.gojob.com/user/forgot-password',
  790.      req:
  791.       ClientRequest {
  792.         domain: null,
  793.         _events: [Object],
  794.         _eventsCount: 4,
  795.         _maxListeners: undefined,
  796.         output: [],
  797.         outputEncodings: [],
  798.         outputCallbacks: [],
  799.         writable: true,
  800.         _last: true,
  801.         chunkedEncoding: false,
  802.         shouldKeepAlive: false,
  803.         useChunkedEncodingByDefault: true,
  804.         sendDate: false,
  805.         _removedHeader: [Object],
  806.         _contentLength: 0,
  807.         _hasBody: true,
  808.         _trailer: '',
  809.         finished: true,
  810.         _headerSent: true,
  811.         socket: [Object],
  812.         connection: [Object],
  813.         _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',
  814.         _headers: [Object],
  815.         _headerNames: [Object],
  816.         agent: [Object],
  817.         socketPath: undefined,
  818.         method: 'PUT',
  819.         path: '/user/forgot-password',
  820.         parser: null,
  821.         res: [Circular] },
  822.      ntick: true,
  823.      response: [Circular],
  824.      originalHost: 'beta-api.gojob.com',
  825.      originalHostHeaderName: 'host',
  826.      responseContent: [Circular],
  827.      _destdata: true,
  828.      _ended: true,
  829.      _callbackCalled: true },
  830.   toJSON: [Function: responseToJSON],
  831.   caseless:
  832.    Caseless {
  833.      dict:
  834.       { server: 'nginx/1.6.2',
  835.         date: 'Wed, 27 Apr 2016 07:57:23 GMT',
  836.         'content-type': 'application/json; charset=utf-8',
  837.         'content-length': '31',
  838.         connection: 'close',
  839.         'x-content-type-options': 'nosniff',
  840.         'x-frame-options': 'SAMEORIGIN',
  841.         'x-download-options': 'noopen',
  842.         'x-xss-protection': '1; mode=block',
  843.         etag: 'W/"1f-vVsaoHAqzW9xyq/KldP1qw"' } },
  844.   read: [Function],
  845.   body: '{"message":"Erreur de session"}' }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement