title: How to fix 'TypeError: name.toUpperCase is not a function' in axios
body: <p>I want to get data from dbpedia endpoint, with axios in vue js.</p>
  
  <p>I use <code>axios.get</code> to get data from dbpedia, and i got and error in console say :</p>
  
  <blockquote>
    <p>TypeError: name.toUpperCase is not a function</p>
  </blockquote>
  
  <p>How can i fix it?</p>
  
  <pre><code>created(){
      this.fetch();
    },
    methods: {
      fetch(){
        axios
        .get('http://id.dbpedia.org/sparql?query=SELECT+DISTINCT+?concept+WHERE+{+?s+a+?concept+}+LIMIT+50', {
          headers: 'Access-Control-Allow-Origin: *'
        }).then(response =&gt; {
          /* eslint-disable */
          console.log('SUCCESS');
          console.log(response);
        }).catch((e) =&gt; {
          console.log(e);
        })
      }
    },
  </code></pre>