title: Iterating through data with Axios in React JS
body: <p><strong>Background</strong></p>
  
  <p>I am making a API call with <code>Axios</code> in a <code>React.js</code> application. The response is returned but I am having a problem iterating the data in the render function. </p>
  
  <p><strong>Json Response</strong> </p>
  
  <pre><code>{
    "response": {
      "items": [
        {
          "episode_id": 8528077,
          "type": "RECORDED",
          "title": "REPLICON RADIO 5-16",
          "duration": 12741360,
          "explicit": true,
          "show_id": 1443546,
          "author_id": 6168026,
          "site_url": "https://www.spreaker.com/episode/8528077",
          "image_url": "https://d1bm3dmew779uf.cloudfront.net/large/8f84530817540e259a824dea66fcf745.jpg",
          "image_original_url": "https://d3wo5wojvuv7l.cloudfront.net/images.spreaker.com/original/8f84530817540e259a824dea66fcf745.jpg",
          "published_at": "2016-05-16 23:00:05",
          "download_enabled": true,
          "waveform_url": "https://d3770qakewhkht.cloudfront.net/episode_8528077.gz.json"
        }
      ],
      "next_url": "https://api.spreaker.com/v2/shows/1443546/episodes?filter=listenable&amp;last_id=8528077&amp;limit=1"
    }
  }
  </code></pre>
  
  <p><strong>Axios Get Method</strong></p>
  
  <pre><code>axios.get(`https://api.spreaker.com/v2/shows/1443546/episodes?filter=listenable&amp;last_id=8589057&amp;limit=1`)
      .then(res =&gt; {
          const episodes = res.data.response.items.map(r =&gt; r.data);
          this.setState({episodes});
      })
  </code></pre>
  
  <p><strong>Render Function</strong></p>
  
  <pre><code>&lt;ul&gt;
   {this.state.episodes.map(episode =&gt;
   &lt;li key={episode.episode_id}&gt;{episode.title}&lt;/li&gt;
   )}
  &lt;/ul&gt;
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <p>From the documentation I believe I am doing this right, but I keep getting the error <code>episode_id</code> does not exist. Based on my <code>json</code> what am I doing wrong to render the data to the view?</p>