title: Using axios.post, response.data return html instead of data [Nodejs, React]
body: <p>What I want is,
  when I click SUBMIT button, it should post some data using axios.post</p>
  <pre><code>const sb = async () =&gt; {
      axios.post('/tagSearch',{
        qual: qualQuery,
        sem: semQuery,
        etc: etcQuery,
        interest: iArr
      })
      .then(res =&gt; {
        console.log(res);
      }).catch(error =&gt; {
        console.log(error);
        throw new Error(error);
      });
    }
  
  
  &lt;Button
              onClick={sb}
            &gt;
              SUBMIT
            &lt;/Button&gt;
  </code></pre>
  <p>but console.log(res.data) result is</p>
  <pre><code>{data: '&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;&lt;style data-next-hide-f…r&quot;:true,&quot;scriptLoader&quot;:[]}\x3C/script&gt;&lt;/body&gt;&lt;/html&gt;', status: 200, statusText: 'OK', headers: {…}, config: {…}, …}
  config: {transitional: {…}, transformRequest: Array(1), transformResponse: Array(1), timeout: 0, adapter: ƒ, …}
  data: &quot;&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;&lt;style data-next-hide-
  headers: {access-control-allow-methods: 'OPTIONS, GET', access-control-allow-origin: 'http://localhost:3006', cache-control: 'no-store, must-revalidate', connection: 'keep-alive', content-encoding: 'gzip', …}
  request: XMLHttpRequest {onreadystatechange: null, readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, …}
  status: 200
  statusText: &quot;OK&quot;
  [[Prototype]]: Object
  </code></pre>
  <p>and what I want is in this form</p>
  <pre><code>{&quot;qual&quot;:[-1,-1,-1],&quot;sem&quot;:[1,1,-1,-1],&quot;etc&quot;:[1,1,-1,-1],&quot;interest&quot;:[]}
  </code></pre>
  <p>And I tried to get that data in routes/tagSearch.js like</p>
  <pre><code>router.post('/tagSearch', function (req, res, next) {   
      const text = req.body;
      console.log('text:'+ text);
      res.send('About post');
  })
  </code></pre>
  <p>IDK what's wrong.........</p>