Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. Request {
  2. domain: null,
  3. _events:
  4. { error: [Function: bound ],
  5. complete: [Function: bound ],
  6. pipe: [Function] },
  7. _eventsCount: 3,
  8. _maxListeners: undefined,
  9. method: 'POST',
  10. headers:
  11. { 'Content-type': 'text/plain',
  12. host: 'gateway.watsonplatform.net',
  13. authorization: 'Basic ZDIyZTliZTEtY2JmMC00ZjBhLWFlZjQtMzk3YmI1ZTFkYWUxOkhMRUpnTGpmSllKMA==',
  14. 'content-length': 13 },
  15. body: 'i am very sad',
  16. callback: [Function],
  17. readable: true,
  18. writable: true,
  19. explicitMethod: true,
  20. _qs:
  21. Querystring {
  22. request: [Circular],
  23. lib: { formats: [Object], parse: [Function], stringify: [Function] },
  24. useQuerystring: undefined,
  25. parseOptions: {},
  26. stringifyOptions: {} },
  27. _auth:
  28. Auth {
  29. request: [Circular],
  30. hasAuth: true,
  31. sentAuth: true,
  32. bearerToken: null,
  33. user: 'd22e9be1-cbf0-4f0a-aef4-397bb5e1dae1',
  34. pass: 'HLEJgLjfJYJ0' },
  35. _oauth: OAuth { request: [Circular], params: null },
  36. _multipart:
  37. Multipart {
  38. request: [Circular],
  39. boundary: '5482fd46-c6db-49b2-aa09-6434f3c9737b',
  40. chunked: false,
  41. body: null },
  42. _redirect:
  43. Redirect {
  44. request: [Circular],
  45. followRedirect: true,
  46. followRedirects: true,
  47. followAllRedirects: false,
  48. followOriginalHttpMethod: false,
  49. allowRedirect: [Function],
  50. maxRedirects: 10,
  51. redirects: [],
  52. redirectsFollowed: 0,
  53. removeRefererHeader: false },
  54. _tunnel:
  55. Tunnel {
  56. request: [Circular],
  57. proxyHeaderWhiteList:
  58. [ 'accept',
  59. 'accept-charset',
  60. 'accept-encoding',
  61. 'accept-language',
  62. 'accept-ranges',
  63. 'cache-control',
  64. 'content-encoding',
  65. 'content-language',
  66. 'content-location',
  67. 'content-md5',
  68. 'content-range',
  69. 'content-type',
  70. 'connection',
  71. 'date',
  72. 'expect',
  73. 'max-forwards',
  74. 'pragma',
  75. 'referer',
  76. 'te',
  77. 'user-agent',
  78. 'via' ],
  79. proxyHeaderExclusiveList: [] },
  80. setHeader: [Function],
  81. hasHeader: [Function],
  82. getHeader: [Function],
  83. removeHeader: [Function],
  84. localAddress: undefined,
  85. pool: {},
  86. dests: [],
  87. __isRequestRequest: true,
  88. _callback: [Function],
  89. uri:
  90. Url {
  91. protocol: 'https:',
  92. slashes: true,
  93. auth: null,
  94. host: 'gateway.watsonplatform.net',
  95. port: 443,
  96. hostname: 'gateway.watsonplatform.net',
  97. hash: null,
  98. search: '?version=2017-06-22&tones=emotion&sentences=false',
  99. query: 'version=2017-06-22&tones=emotion&sentences=false',
  100. pathname: '/tone-analyzer/api/v3/tone',
  101. path: '/tone-analyzer/api/v3/tone?version=2017-06-22&tones=emotion&sentences=false',
  102. href: 'https://gateway.watsonplatform.net/tone-analyzer/api/v3/tone?version=2017-06-22&tones=emotion&sentences=false' },
  103. proxy: null,
  104. tunnel: true,
  105. setHost: true,
  106. originalCookieHeader: undefined,
  107. _disableCookies: true,
  108. _jar: undefined,
  109. port: 443,
  110. host: 'gateway.watsonplatform.net',
  111. path: '/tone-analyzer/api/v3/tone?version=2017-06-22&tones=emotion&sentences=false',
  112. httpModule:
  113. { Server: { [Function: Server] super_: [Object] },
  114. createServer: [Function: createServer],
  115. globalAgent:
  116. Agent {
  117. domain: null,
  118. _events: [Object],
  119. _eventsCount: 1,
  120. _maxListeners: undefined,
  121. defaultPort: 443,
  122. protocol: 'https:',
  123. options: [Object],
  124. requests: {},
  125. sockets: {},
  126. freeSockets: {},
  127. keepAliveMsecs: 1000,
  128. keepAlive: false,
  129. maxSockets: Infinity,
  130. maxFreeSockets: 256,
  131. maxCachedSessions: 100,
  132. _sessionCache: [Object] },
  133. Agent: { [Function: Agent] super_: [Object] },
  134. request: [Function: request],
  135. get: [Function: get] },
  136. agentClass:
  137. { [Function: Agent]
  138. super_: { [Function: Agent] super_: [Object], defaultMaxSockets: Infinity } },
  139. agent:
  140. Agent {
  141. domain: null,
  142. _events: { free: [Function] },
  143. _eventsCount: 1,
  144. _maxListeners: undefined,
  145. defaultPort: 443,
  146. protocol: 'https:',
  147. options: { path: null },
  148. requests: {},
  149. sockets: {},
  150. freeSockets: {},
  151. keepAliveMsecs: 1000,
  152. keepAlive: false,
  153. maxSockets: Infinity,
  154. maxFreeSockets: 256,
  155. maxCachedSessions: 100,
  156. _sessionCache: { map: {}, list: [] } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement