Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Request {
- domain: null,
- _events:
- { error: [Function: bound ],
- complete: [Function: bound ],
- pipe: [Function] },
- _eventsCount: 3,
- _maxListeners: undefined,
- method: 'POST',
- headers:
- { 'Content-type': 'text/plain',
- host: 'gateway.watsonplatform.net',
- authorization: 'Basic ZDIyZTliZTEtY2JmMC00ZjBhLWFlZjQtMzk3YmI1ZTFkYWUxOkhMRUpnTGpmSllKMA==',
- 'content-length': 13 },
- body: 'i am very sad',
- callback: [Function],
- readable: true,
- writable: true,
- explicitMethod: true,
- _qs:
- Querystring {
- request: [Circular],
- lib: { formats: [Object], parse: [Function], stringify: [Function] },
- useQuerystring: undefined,
- parseOptions: {},
- stringifyOptions: {} },
- _auth:
- Auth {
- request: [Circular],
- hasAuth: true,
- sentAuth: true,
- bearerToken: null,
- user: 'd22e9be1-cbf0-4f0a-aef4-397bb5e1dae1',
- pass: 'HLEJgLjfJYJ0' },
- _oauth: OAuth { request: [Circular], params: null },
- _multipart:
- Multipart {
- request: [Circular],
- boundary: '5482fd46-c6db-49b2-aa09-6434f3c9737b',
- 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:
- [ 'accept',
- 'accept-charset',
- 'accept-encoding',
- 'accept-language',
- 'accept-ranges',
- 'cache-control',
- 'content-encoding',
- 'content-language',
- 'content-location',
- 'content-md5',
- 'content-range',
- 'content-type',
- 'connection',
- 'date',
- 'expect',
- 'max-forwards',
- 'pragma',
- 'referer',
- 'te',
- 'user-agent',
- 'via' ],
- proxyHeaderExclusiveList: [] },
- 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: 'gateway.watsonplatform.net',
- port: 443,
- hostname: 'gateway.watsonplatform.net',
- hash: null,
- search: '?version=2017-06-22&tones=emotion&sentences=false',
- query: 'version=2017-06-22&tones=emotion&sentences=false',
- pathname: '/tone-analyzer/api/v3/tone',
- path: '/tone-analyzer/api/v3/tone?version=2017-06-22&tones=emotion&sentences=false',
- href: 'https://gateway.watsonplatform.net/tone-analyzer/api/v3/tone?version=2017-06-22&tones=emotion&sentences=false' },
- proxy: null,
- tunnel: true,
- setHost: true,
- originalCookieHeader: undefined,
- _disableCookies: true,
- _jar: undefined,
- port: 443,
- host: 'gateway.watsonplatform.net',
- path: '/tone-analyzer/api/v3/tone?version=2017-06-22&tones=emotion&sentences=false',
- httpModule:
- { Server: { [Function: Server] super_: [Object] },
- createServer: [Function: createServer],
- globalAgent:
- Agent {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: {},
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- Agent: { [Function: Agent] super_: [Object] },
- request: [Function: request],
- get: [Function: get] },
- agentClass:
- { [Function: Agent]
- super_: { [Function: Agent] super_: [Object], defaultMaxSockets: Infinity } },
- agent:
- Agent {
- domain: null,
- _events: { free: [Function] },
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: { path: null },
- requests: {},
- sockets: {},
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: { map: {}, list: [] } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement