title: Having CORS error even after setting up headers
body: <p>I am getting this error on a JS script:</p>
  <blockquote>
  <p><code>Access to XMLHttpRequest at 'https://services.3xsoftware.co.uk/Search/ByPostcode/' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.</code></p>
  </blockquote>
  <p>Here's my code and I have set up the headers but still it is not working. Please let me know if I am doing anything wrong:</p>
  <pre><code> axios.get('https://services.3xsoftware.co.uk/Search/ByPostcode/' + postcode,
      &quot;&quot;,
      {
          headers: {
              'Access-Control-Allow-Origin': '*',
          },
  
          responseType: &quot;json&quot;,
      }
  )
  </code></pre>