Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- status: 200,
- statusText: 'OK',
- headers: {
- server: 'Cowboy',
- connection: 'close',
- 'x-powered-by': 'Express',
- 'access-control-allow-origin': '*',
- 'content-type': 'text/html; charset=utf-8',
- 'content-length': '7',
- etag: 'W/"7-yk+dzyBOIDe/5YhIZ76tmL2cuvg"',
- date: 'Sat, 18 Jan 2020 03:39:35 GMT',
- via: '1.1 vegur'
- },
- config: {
- url: 'https://igadis-be.herokuapp.com/api',
- method: 'get',
- headers: {
- Accept: 'application/json, text/plain, */*',
- 'User-Agent': 'axios/0.19.0'
- },
- transformRequest: [ [Function: transformRequest] ],
- transformResponse: [ [Function: transformResponse] ],
- timeout: 0,
- adapter: [Function: httpAdapter],
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- data: undefined
- },
- request: ClientRequest {
- _events: [Object: null prototype] {
- socket: [Function],
- abort: [Function],
- aborted: [Function],
- error: [Function],
- timeout: [Function],
- prefinish: [Function: requestOnPrefinish]
- },
- _eventsCount: 6,
- _maxListeners: undefined,
- outputData: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: 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: 'igadis-be.herokuapp.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object: null prototype],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _parent: null,
- _host: 'igadis-be.herokuapp.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)]: 24,
- [Symbol(kHandle)]: [TLSWrap],
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBuffer)]: null,
- [Symbol(kBufferCb)]: null,
- [Symbol(kBufferGen)]: 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: 'igadis-be.herokuapp.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object: null prototype],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _parent: null,
- _host: 'igadis-be.herokuapp.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)]: 24,
- [Symbol(kHandle)]: [TLSWrap],
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBuffer)]: null,
- [Symbol(kBufferCb)]: null,
- [Symbol(kBufferGen)]: null,
- [Symbol(kBytesRead)]: 0,
- [Symbol(kBytesWritten)]: 0,
- [Symbol(connect-options)]: [Object]
- },
- _header: 'GET /api HTTP/1.1\r\n' +
- 'Accept: application/json, text/plain, */*\r\n' +
- 'User-Agent: axios/0.19.0\r\n' +
- 'Host: igadis-be.herokuapp.com\r\n' +
- 'Connection: close\r\n' +
- '\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: Agent {
- _events: [Object: null prototype],
- _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: 'GET',
- path: '/api',
- _ended: true,
- res: IncomingMessage {
- _readableState: [ReadableState],
- readable: false,
- _events: [Object: null prototype],
- _eventsCount: 3,
- _maxListeners: undefined,
- socket: [TLSSocket],
- connection: [TLSSocket],
- 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: 'OK',
- client: [TLSSocket],
- _consuming: false,
- _dumped: false,
- req: [Circular],
- responseUrl: 'https://igadis-be.herokuapp.com/api',
- redirects: []
- },
- aborted: false,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable: Writable {
- _writableState: [WritableState],
- writable: true,
- _events: [Object: null prototype],
- _eventsCount: 2,
- _maxListeners: undefined,
- _options: [Object],
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 0,
- _requestBodyBuffers: [],
- _onNativeResponse: [Function],
- _currentRequest: [Circular],
- _currentUrl: 'https://igadis-be.herokuapp.com/api'
- },
- [Symbol(kNeedDrain)]: false,
- [Symbol(isCorked)]: false,
- [Symbol(kOutHeaders)]: [Object: null prototype] {
- accept: [Array],
- 'user-agent': [Array],
- host: [Array]
- }
- },
- data: 'Welcome'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement