Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.60 KB | None | 0 0
  1. { status: 200,
  2. statusText: '',
  3. headers:
  4. { 'x-content-type-options': 'nosniff',
  5. 'x-xss-protection': '1; mode=block',
  6. 'cache-control': 'no-cache, no-store, max-age=0, must-revalidate',
  7. pragma: 'no-cache',
  8. expires: '0',
  9. 'x-frame-options': 'DENY',
  10. 'content-type': 'application/json;charset=UTF-8',
  11. 'transfer-encoding': 'chunked',
  12. date: 'Sun, 21 Jul 2019 13:52:12 GMT',
  13. connection: 'close' },
  14. config:
  15. { url: 'http://103.82.197.68:8443/signin',
  16. method: 'post',
  17. data:
  18. '{"username":"lamlv03","password":"123conma","deviceId":"123"}',
  19. headers:
  20. { Accept: 'application/json, text/plain, */*',
  21. 'Content-Type': 'application/json;charset=utf-8',
  22. 'User-Agent': 'axios/0.19.0',
  23. 'Content-Length': 61 },
  24. transformRequest: [ [Function: transformRequest] ],
  25. transformResponse: [ [Function: transformResponse] ],
  26. timeout: 0,
  27. adapter: [Function: httpAdapter],
  28. xsrfCookieName: 'XSRF-TOKEN',
  29. xsrfHeaderName: 'X-XSRF-TOKEN',
  30. maxContentLength: -1,
  31. validateStatus: [Function: validateStatus] },
  32. request:
  33. ClientRequest {
  34. _events:
  35. [Object: null prototype] {
  36. socket: [Function],
  37. abort: [Function],
  38. aborted: [Function],
  39. error: [Function],
  40. timeout: [Function],
  41. prefinish: [Function: requestOnPrefinish] },
  42. _eventsCount: 6,
  43. _maxListeners: undefined,
  44. output: [],
  45. outputEncodings: [],
  46. outputCallbacks: [],
  47. outputSize: 0,
  48. writable: true,
  49. _last: true,
  50. chunkedEncoding: false,
  51. shouldKeepAlive: false,
  52. useChunkedEncodingByDefault: true,
  53. sendDate: false,
  54. _removedConnection: false,
  55. _removedContLen: false,
  56. _removedTE: false,
  57. _contentLength: null,
  58. _hasBody: true,
  59. _trailer: '',
  60. finished: true,
  61. _headerSent: true,
  62. socket:
  63. Socket {
  64. connecting: false,
  65. _hadError: false,
  66. _handle: [TCP],
  67. _parent: null,
  68. _host: null,
  69. _readableState: [ReadableState],
  70. readable: true,
  71. _events: [Object],
  72. _eventsCount: 7,
  73. _maxListeners: undefined,
  74. _writableState: [WritableState],
  75. writable: false,
  76. allowHalfOpen: false,
  77. _sockname: null,
  78. _pendingData: null,
  79. _pendingEncoding: '',
  80. server: null,
  81. _server: null,
  82. parser: null,
  83. _httpMessage: [Circular],
  84. [Symbol(asyncId)]: 69,
  85. [Symbol(lastWriteQueueSize)]: 0,
  86. [Symbol(timeout)]: null,
  87. [Symbol(kBytesRead)]: 0,
  88. [Symbol(kBytesWritten)]: 0 },
  89. connection:
  90. Socket {
  91. connecting: false,
  92. _hadError: false,
  93. _handle: [TCP],
  94. _parent: null,
  95. _host: null,
  96. _readableState: [ReadableState],
  97. readable: true,
  98. _events: [Object],
  99. _eventsCount: 7,
  100. _maxListeners: undefined,
  101. _writableState: [WritableState],
  102. writable: false,
  103. allowHalfOpen: false,
  104. _sockname: null,
  105. _pendingData: null,
  106. _pendingEncoding: '',
  107. server: null,
  108. _server: null,
  109. parser: null,
  110. _httpMessage: [Circular],
  111. [Symbol(asyncId)]: 69,
  112. [Symbol(lastWriteQueueSize)]: 0,
  113. [Symbol(timeout)]: null,
  114. [Symbol(kBytesRead)]: 0,
  115. [Symbol(kBytesWritten)]: 0 },
  116. _header:
  117. 'POST /signin HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json;charset=utf-8\r\nUser-Agent: axios/0.19.0\r\nContent-Length: 61\r\nHost: 103.82.197.68:8443\r\nConnection: close\r\n\r\n',
  118. _onPendingData: [Function: noopPendingOutput],
  119. agent:
  120. Agent {
  121. _events: [Object],
  122. _eventsCount: 1,
  123. _maxListeners: undefined,
  124. defaultPort: 80,
  125. protocol: 'http:',
  126. options: [Object],
  127. requests: {},
  128. sockets: [Object],
  129. freeSockets: {},
  130. keepAliveMsecs: 1000,
  131. keepAlive: false,
  132. maxSockets: Infinity,
  133. maxFreeSockets: 256 },
  134. socketPath: undefined,
  135. timeout: undefined,
  136. method: 'POST',
  137. path: '/signin',
  138. _ended: true,
  139. res:
  140. IncomingMessage {
  141. _readableState: [ReadableState],
  142. readable: false,
  143. _events: [Object],
  144. _eventsCount: 3,
  145. _maxListeners: undefined,
  146. socket: [Socket],
  147. connection: [Socket],
  148. httpVersionMajor: 1,
  149. httpVersionMinor: 1,
  150. httpVersion: '1.1',
  151. complete: true,
  152. headers: [Object],
  153. rawHeaders: [Array],
  154. trailers: {},
  155. rawTrailers: [],
  156. aborted: false,
  157. upgrade: false,
  158. url: '',
  159. method: null,
  160. statusCode: 200,
  161. statusMessage: '',
  162. client: [Socket],
  163. _consuming: true,
  164. _dumped: false,
  165. req: [Circular],
  166. responseUrl: 'http://103.82.197.68:8443/signin',
  167. redirects: [] },
  168. aborted: undefined,
  169. timeoutCb: null,
  170. upgradeOrConnect: false,
  171. parser: null,
  172. maxHeadersCount: null,
  173. _redirectable:
  174. Writable {
  175. _writableState: [WritableState],
  176. writable: true,
  177. _events: [Object],
  178. _eventsCount: 2,
  179. _maxListeners: undefined,
  180. _options: [Object],
  181. _redirectCount: 0,
  182. _redirects: [],
  183. _requestBodyLength: 61,
  184. _requestBodyBuffers: [],
  185. _onNativeResponse: [Function],
  186. _currentRequest: [Circular],
  187. _currentUrl: 'http://103.82.197.68:8443/signin' },
  188. [Symbol(isCorked)]: false,
  189. [Symbol(outHeadersKey)]:
  190. [Object: null prototype] {
  191. accept: [Array],
  192. 'content-type': [Array],
  193. 'user-agent': [Array],
  194. 'content-length': [Array],
  195. host: [Array] } },
  196. data:
  197. { userInfo:
  198. { uid: 4,
  199. username: 'lamlv03',
  200. phoneNumber: null,
  201. fullname: 'ahihi111',
  202. birthday: null,
  203. avatar: null,
  204. email: null,
  205. gender: 'MALE',
  206. type: 'ADMIN',
  207. status: 'NOT_ACTIVATE',
  208. parentId: 0,
  209. territoryId: 0,
  210. createdAt: 1563361104000,
  211. updatedAt: 1563449489000 },
  212. token:
  213. { token:
  214. 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0IiwiaWF0IjoxNTYzNzEwNjc2LCJleHAiOjE1NjM3NTM4NzYsInVzZXJfc3RhdHVzIjowLCJ1c2VyX3R5cGUiOjAsInVzZXJfbmFtZSI6ImxhbWx2MDMifQ.PByHQF6pKi2EfY-1s-PZuKoPRDZ46h8Y_l_8jBSEi8g',
  215. expiredDate: 1563753876000 },
  216. territory: null } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement