SHARE
TWEET

Untitled

a guest Oct 21st, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Response: { status: 200,
  2.   statusText: 'OK',
  3.   headers:
  4.    { server: 'openresty/1.15.8.2',
  5.      date: 'Mon, 21 Oct 2019 16:11:42 GMT',
  6.      'content-type': 'text/html; charset=utf-8',
  7.      'transfer-encoding': 'chunked',
  8.      connection: 'close',
  9.      vary: 'Cookie',
  10.      'x-frame-options': 'SAMEORIGIN',
  11.      'set-cookie':
  12.       [ 'csrftoken=TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm; expires=Mon, 19-Oct-2020 16:11:42 GMT; Max-Age=31449600; Path=/',
  13.         'sessionid=""; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/' ] },
  14.   config:
  15.    { adapter: [Function: httpAdapter],
  16.      transformRequest: { '0': [Function: transformRequest] },
  17.      transformResponse: { '0': [Function: transformResponse] },
  18.      timeout: 0,
  19.      xsrfCookieName: 'XSRF-TOKEN',
  20.      xsrfHeaderName: 'X-XSRF-TOKEN',
  21.      maxContentLength: -1,
  22.      validateStatus: [Function: validateStatus],
  23.      headers:
  24.       { Accept: 'application/json, text/plain, */*',
  25.         'X-CSRFToken': 'TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm',
  26.         Cookie:
  27.          'sessionid=undefined; csrftoken=TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm',
  28.         'User-Agent': 'axios/0.18.0' },
  29.      method: 'get',
  30.      url:
  31.       'https://staging.mysunbuddy.com:8000/utility_api_callback?referral=146206',
  32.      data: undefined },
  33.   request:
  34.    ClientRequest {
  35.      domain: null,
  36.      _events:
  37.       [Object: null prototype] {
  38.         socket: [Function],
  39.         abort: [Function],
  40.         aborted: [Function],
  41.         error: [Function],
  42.         timeout: [Function],
  43.         prefinish: [Function: requestOnPrefinish] },
  44.      _eventsCount: 6,
  45.      _maxListeners: undefined,
  46.      output: [],
  47.      outputEncodings: [],
  48.      outputCallbacks: [],
  49.      outputSize: 0,
  50.      writable: true,
  51.      _last: true,
  52.      chunkedEncoding: false,
  53.      shouldKeepAlive: false,
  54.      useChunkedEncodingByDefault: false,
  55.      sendDate: false,
  56.      _removedConnection: false,
  57.      _removedContLen: false,
  58.      _removedTE: false,
  59.      _contentLength: 0,
  60.      _hasBody: true,
  61.      _trailer: '',
  62.      finished: true,
  63.      _headerSent: true,
  64.      socket:
  65.       TLSSocket {
  66.         _tlsOptions: [Object],
  67.         _secureEstablished: true,
  68.         _securePending: false,
  69.         _newSessionPending: false,
  70.         _controlReleased: true,
  71.         _SNICallback: null,
  72.         servername: false,
  73.         alpnProtocol: false,
  74.         authorized: true,
  75.         authorizationError: null,
  76.         encrypted: true,
  77.         _events: [Object],
  78.         _eventsCount: 8,
  79.         connecting: false,
  80.         _hadError: false,
  81.         _handle: [TLSWrap],
  82.         _parent: null,
  83.         _host: 'staging.mysunbuddy.com',
  84.         _readableState: [ReadableState],
  85.         readable: true,
  86.         domain: null,
  87.         _maxListeners: undefined,
  88.         _writableState: [WritableState],
  89.         writable: false,
  90.         allowHalfOpen: false,
  91.         _sockname: null,
  92.         _pendingData: null,
  93.         _pendingEncoding: '',
  94.         server: undefined,
  95.         _server: null,
  96.         ssl: [TLSWrap],
  97.         _requestCert: true,
  98.         _rejectUnauthorized: true,
  99.         parser: null,
  100.         _httpMessage: [Circular],
  101.         [Symbol(res)]: [TLSWrap],
  102.         [Symbol(asyncId)]: 231793,
  103.         [Symbol(lastWriteQueueSize)]: 0,
  104.         [Symbol(timeout)]: null,
  105.         [Symbol(kBytesRead)]: 0,
  106.         [Symbol(kBytesWritten)]: 0,
  107.         [Symbol(connect-options)]: [Object] },
  108.      connection:
  109.       TLSSocket {
  110.         _tlsOptions: [Object],
  111.         _secureEstablished: true,
  112.         _securePending: false,
  113.         _newSessionPending: false,
  114.         _controlReleased: true,
  115.         _SNICallback: null,
  116.         servername: false,
  117.         alpnProtocol: false,
  118.         authorized: true,
  119.         authorizationError: null,
  120.         encrypted: true,
  121.         _events: [Object],
  122.         _eventsCount: 8,
  123.         connecting: false,
  124.         _hadError: false,
  125.         _handle: [TLSWrap],
  126.         _parent: null,
  127.         _host: 'staging.mysunbuddy.com',
  128.         _readableState: [ReadableState],
  129.         readable: true,
  130.         domain: null,
  131.         _maxListeners: undefined,
  132.         _writableState: [WritableState],
  133.         writable: false,
  134.         allowHalfOpen: false,
  135.         _sockname: null,
  136.         _pendingData: null,
  137.         _pendingEncoding: '',
  138.         server: undefined,
  139.         _server: null,
  140.         ssl: [TLSWrap],
  141.         _requestCert: true,
  142.         _rejectUnauthorized: true,
  143.         parser: null,
  144.         _httpMessage: [Circular],
  145.         [Symbol(res)]: [TLSWrap],
  146.         [Symbol(asyncId)]: 231793,
  147.         [Symbol(lastWriteQueueSize)]: 0,
  148.         [Symbol(timeout)]: null,
  149.         [Symbol(kBytesRead)]: 0,
  150.         [Symbol(kBytesWritten)]: 0,
  151.         [Symbol(connect-options)]: [Object] },
  152.      _header:
  153.       'GET /accounts/login/?next=/utility_api_callback%3Freferral%3D146206 HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nX-CSRFToken: TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm\r\nCookie: sessionid=undefined; csrftoken=TuyS5SJMeIZI1ezw05iDPIQGiz4Vzrzm\r\nUser-Agent: axios/0.18.0\r\nHost: staging.mysunbuddy.com:8000\r\nConnection: close\r\n\r\n',
  154.      _onPendingData: [Function: noopPendingOutput],
  155.      agent:
  156.       Agent {
  157.         domain: null,
  158.         _events: [Object],
  159.         _eventsCount: 1,
  160.         _maxListeners: undefined,
  161.         defaultPort: 443,
  162.         protocol: 'https:',
  163.         options: [Object],
  164.         requests: {},
  165.         sockets: [Object],
  166.         freeSockets: {},
  167.         keepAliveMsecs: 1000,
  168.         keepAlive: false,
  169.         maxSockets: Infinity,
  170.         maxFreeSockets: 256,
  171.         maxCachedSessions: 100,
  172.         _sessionCache: [Object] },
  173.      socketPath: undefined,
  174.      timeout: undefined,
  175.      method: 'GET',
  176.      path:
  177.       '/accounts/login/?next=/utility_api_callback%3Freferral%3D146206',
  178.      _ended: true,
  179.      res:
  180.       IncomingMessage {
  181.         _readableState: [ReadableState],
  182.         readable: false,
  183.         domain: null,
  184.         _events: [Object],
  185.         _eventsCount: 3,
  186.         _maxListeners: undefined,
  187.         socket: [TLSSocket],
  188.         connection: [TLSSocket],
  189.         httpVersionMajor: 1,
  190.         httpVersionMinor: 1,
  191.         httpVersion: '1.1',
  192.         complete: true,
  193.         headers: [Object],
  194.         rawHeaders: [Array],
  195.         trailers: {},
  196.         rawTrailers: [],
  197.         aborted: false,
  198.         upgrade: false,
  199.         url: '',
  200.         method: null,
  201.         statusCode: 200,
  202.         statusMessage: 'OK',
  203.         client: [TLSSocket],
  204.         _consuming: false,
  205.         _dumped: false,
  206.         req: [Circular],
  207.         responseUrl:
  208.          'https://staging.mysunbuddy.com:8000/accounts/login/?next=/utility_api_callback%3Freferral%3D146206',
  209.         redirects: [] },
  210.      aborted: undefined,
  211.      timeoutCb: null,
  212.      upgradeOrConnect: false,
  213.      parser: null,
  214.      maxHeadersCount: null,
  215.      _redirectable:
  216.       Writable {
  217.         _writableState: [WritableState],
  218.         writable: true,
  219.         domain: null,
  220.         _events: [Object],
  221.         _eventsCount: 2,
  222.         _maxListeners: undefined,
  223.         _options: [Object],
  224. "id_login" name="login" placeholder="E-mail address" type="email" /></p>\n<p><label for="id_password">Password:</label> <input id="id_password" name="password" placeholder="Password" type="password" /></p>\n<p><label for="id_remember">Remember Me:</label> <input id="id_remember" name="remember" type="checkbox" /></p>\n  \n  <input type="hidden" name="next" value="/utility_api_callback?referral=146206" />\n  \n  <a class="button secondaryAction" href="/accounts/password/reset/">Forgot Password?</a>\n  <button class="primaryAction" type="submit">Sign In</button>\n</form>\n\n\n  </div>\n\n  <script src="/static/js/admin.js"></script>\n\n  <footer>\n    <p>©2018 MySunBuddy, Inc.</p>\n  </footer>\n\n</body>\n</html>\n' }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top