title: How to get statusCode from Axios?
body: <p>When I <code>axios</code> dump in NodeJS the response I get</p>
  <pre><code> res:
    IncomingMessage {
      _readableState: [ReadableState],
      readable: false,
      _events: [Object],
      _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: 201,            &lt;----------
      statusMessage: 'Created',
      client: [TLSSocket],
      _consuming: false,
      _dumped: false,
      req: [Circular],
      responseUrl:
       'https://example.com/',
      redirects: [] },
  </code></pre>
  <p>and would really like to get the <code>statusCode</code>.</p>
  <p>If I do</p>
  <pre><code>console.log(response.headers.status)
  console.log(response.headers.location)
  console.log(response.statusText)
  console.log(response.statusCode)
  </code></pre>
  <p>then I get</p>
  <pre><code>200
  https://example.com/
  Created
  undefined
  </code></pre>
  <p>So I get get the <code>200</code> status code from <code>response.headers</code>, but I also want to get the <code>201</code> status code.</p>
  <h1>Question</h1>
  <p>Can anyone show me how I get extract the <code>statusCode</code> that in this case is <code>201</code>?</p>