title: Proxy server not running in Angular 6
body: <p>Am trying to set up a proxy server in my Angular 6 app, but it is not re-routing my request. Here are the sample files from my app.</p>
  
  <p><strong>service.ts</strong></p>
  
  <pre class="lang-js prettyprint-override"><code>this.apiURL = 'https://www.example.com/xyzServices/api/getUser';
  </code></pre>
  
  <p><strong>proxy.conf.json</strong></p>
  
  <pre class="lang-json prettyprint-override"><code>{
    "/api/": {
      "target": "https://www.example.com/",
      "secure": true,
      "logLevel": "info",
      "changeOrigin": true
    }
  }
  </code></pre>
  
  <p>Is there something that is not right/missing here?</p>