Advertisement
Guest User

Untitled

a guest
Jan 17th, 2020
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   status: 200,
  3.   statusText: 'OK',
  4.   headers: {
  5.     server: 'Cowboy',
  6.     connection: 'close',
  7.     'x-powered-by': 'Express',
  8.     'access-control-allow-origin': '*',
  9.     'content-type': 'text/html; charset=utf-8',
  10.     'content-length': '7',
  11.     etag: 'W/"7-yk+dzyBOIDe/5YhIZ76tmL2cuvg"',
  12.     date: 'Sat, 18 Jan 2020 03:39:35 GMT',
  13.     via: '1.1 vegur'
  14.   },
  15.   config: {
  16.     url: 'https://igadis-be.herokuapp.com/api',
  17.     method: 'get',
  18.     headers: {
  19.       Accept: 'application/json, text/plain, */*',
  20.       'User-Agent': 'axios/0.19.0'
  21.     },
  22.     transformRequest: [ [Function: transformRequest] ],
  23.     transformResponse: [ [Function: transformResponse] ],
  24.     timeout: 0,
  25.     adapter: [Function: httpAdapter],
  26.     xsrfCookieName: 'XSRF-TOKEN',
  27.     xsrfHeaderName: 'X-XSRF-TOKEN',
  28.     maxContentLength: -1,
  29.     validateStatus: [Function: validateStatus],
  30.     data: undefined
  31.   },
  32.   request: ClientRequest {
  33.     _events: [Object: null prototype] {
  34.       socket: [Function],
  35.       abort: [Function],
  36.       aborted: [Function],
  37.       error: [Function],
  38.       timeout: [Function],
  39.       prefinish: [Function: requestOnPrefinish]
  40.     },
  41.     _eventsCount: 6,
  42.     _maxListeners: undefined,
  43.     outputData: [],
  44.     outputSize: 0,
  45.     writable: true,
  46.     _last: true,
  47.     chunkedEncoding: false,
  48.     shouldKeepAlive: false,
  49.     useChunkedEncodingByDefault: false,
  50.     sendDate: false,
  51.     _removedConnection: false,
  52.     _removedContLen: false,
  53.     _removedTE: false,
  54.     _contentLength: 0,
  55.     _hasBody: true,
  56.     _trailer: '',
  57.     finished: true,
  58.     _headerSent: true,
  59.     socket: TLSSocket {
  60.       _tlsOptions: [Object],
  61.       _secureEstablished: true,
  62.       _securePending: false,
  63.       _newSessionPending: false,
  64.       _controlReleased: true,
  65.       _SNICallback: null,
  66.       servername: 'igadis-be.herokuapp.com',
  67.       alpnProtocol: false,
  68.       authorized: true,
  69.       authorizationError: null,
  70.       encrypted: true,
  71.       _events: [Object: null prototype],
  72.       _eventsCount: 9,
  73.       connecting: false,
  74.       _hadError: false,
  75.       _parent: null,
  76.       _host: 'igadis-be.herokuapp.com',
  77.       _readableState: [ReadableState],
  78.       readable: true,
  79.       _maxListeners: undefined,
  80.       _writableState: [WritableState],
  81.       writable: false,
  82.       allowHalfOpen: false,
  83.       _sockname: null,
  84.       _pendingData: null,
  85.       _pendingEncoding: '',
  86.       server: undefined,
  87.       _server: null,
  88.       ssl: [TLSWrap],
  89.       _requestCert: true,
  90.       _rejectUnauthorized: true,
  91.       parser: null,
  92.       _httpMessage: [Circular],
  93.       [Symbol(res)]: [TLSWrap],
  94.       [Symbol(asyncId)]: 24,
  95.       [Symbol(kHandle)]: [TLSWrap],
  96.       [Symbol(lastWriteQueueSize)]: 0,
  97.       [Symbol(timeout)]: null,
  98.       [Symbol(kBuffer)]: null,
  99.       [Symbol(kBufferCb)]: null,
  100.       [Symbol(kBufferGen)]: null,
  101.       [Symbol(kBytesRead)]: 0,
  102.       [Symbol(kBytesWritten)]: 0,
  103.       [Symbol(connect-options)]: [Object]
  104.     },
  105.     connection: TLSSocket {
  106.       _tlsOptions: [Object],
  107.       _secureEstablished: true,
  108.       _securePending: false,
  109.       _newSessionPending: false,
  110.       _controlReleased: true,
  111.       _SNICallback: null,
  112.       servername: 'igadis-be.herokuapp.com',
  113.       alpnProtocol: false,
  114.       authorized: true,
  115.       authorizationError: null,
  116.       encrypted: true,
  117.       _events: [Object: null prototype],
  118.       _eventsCount: 9,
  119.       connecting: false,
  120.       _hadError: false,
  121.       _parent: null,
  122.       _host: 'igadis-be.herokuapp.com',
  123.       _readableState: [ReadableState],
  124.       readable: true,
  125.       _maxListeners: undefined,
  126.       _writableState: [WritableState],
  127.       writable: false,
  128.       allowHalfOpen: false,
  129.       _sockname: null,
  130.       _pendingData: null,
  131.       _pendingEncoding: '',
  132.       server: undefined,
  133.       _server: null,
  134.       ssl: [TLSWrap],
  135.       _requestCert: true,
  136.       _rejectUnauthorized: true,
  137.       parser: null,
  138.       _httpMessage: [Circular],
  139.       [Symbol(res)]: [TLSWrap],
  140.       [Symbol(asyncId)]: 24,
  141.       [Symbol(kHandle)]: [TLSWrap],
  142.       [Symbol(lastWriteQueueSize)]: 0,
  143.       [Symbol(timeout)]: null,
  144.       [Symbol(kBuffer)]: null,
  145.       [Symbol(kBufferCb)]: null,
  146.       [Symbol(kBufferGen)]: null,
  147.       [Symbol(kBytesRead)]: 0,
  148.       [Symbol(kBytesWritten)]: 0,
  149.       [Symbol(connect-options)]: [Object]
  150.     },
  151.     _header: 'GET /api HTTP/1.1\r\n' +
  152.       'Accept: application/json, text/plain, */*\r\n' +
  153.       'User-Agent: axios/0.19.0\r\n' +
  154.       'Host: igadis-be.herokuapp.com\r\n' +
  155.       'Connection: close\r\n' +
  156.       '\r\n',
  157.     _onPendingData: [Function: noopPendingOutput],
  158.     agent: Agent {
  159.       _events: [Object: null prototype],
  160.       _eventsCount: 1,
  161.       _maxListeners: undefined,
  162.       defaultPort: 443,
  163.       protocol: 'https:',
  164.       options: [Object],
  165.       requests: {},
  166.       sockets: [Object],
  167.       freeSockets: {},
  168.       keepAliveMsecs: 1000,
  169.       keepAlive: false,
  170.       maxSockets: Infinity,
  171.       maxFreeSockets: 256,
  172.       maxCachedSessions: 100,
  173.       _sessionCache: [Object]
  174.     },
  175.     socketPath: undefined,
  176.     method: 'GET',
  177.     path: '/api',
  178.     _ended: true,
  179.     res: IncomingMessage {
  180.       _readableState: [ReadableState],
  181.       readable: false,
  182.       _events: [Object: null prototype],
  183.       _eventsCount: 3,
  184.       _maxListeners: undefined,
  185.       socket: [TLSSocket],
  186.       connection: [TLSSocket],
  187.       httpVersionMajor: 1,
  188.       httpVersionMinor: 1,
  189.       httpVersion: '1.1',
  190.       complete: true,
  191.       headers: [Object],
  192.       rawHeaders: [Array],
  193.       trailers: {},
  194.       rawTrailers: [],
  195.       aborted: false,
  196.       upgrade: false,
  197.       url: '',
  198.       method: null,
  199.       statusCode: 200,
  200.       statusMessage: 'OK',
  201.       client: [TLSSocket],
  202.       _consuming: false,
  203.       _dumped: false,
  204.       req: [Circular],
  205.       responseUrl: 'https://igadis-be.herokuapp.com/api',
  206.       redirects: []
  207.     },
  208.     aborted: false,
  209.     timeoutCb: null,
  210.     upgradeOrConnect: false,
  211.     parser: null,
  212.     maxHeadersCount: null,
  213.     _redirectable: Writable {
  214.       _writableState: [WritableState],
  215.       writable: true,
  216.       _events: [Object: null prototype],
  217.       _eventsCount: 2,
  218.       _maxListeners: undefined,
  219.       _options: [Object],
  220.       _redirectCount: 0,
  221.       _redirects: [],
  222.       _requestBodyLength: 0,
  223.       _requestBodyBuffers: [],
  224.       _onNativeResponse: [Function],
  225.       _currentRequest: [Circular],
  226.       _currentUrl: 'https://igadis-be.herokuapp.com/api'
  227.     },
  228.     [Symbol(kNeedDrain)]: false,
  229.     [Symbol(isCorked)]: false,
  230.     [Symbol(kOutHeaders)]: [Object: null prototype] {
  231.       accept: [Array],
  232.       'user-agent': [Array],
  233.       host: [Array]
  234.     }
  235.   },
  236.   data: 'Welcome'
  237. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement