title: Angular 2 http post is returning 200 but no response is returned
body: <p>My http call is returning 200 but no response is captured. <strong>My code inside subscribe is not being hit</strong>. The API is returning data when I test in postman. Here is my code.</p>
  
  <pre><code>getToken(authcode: string) {
  
          var data = 'client_id=InspectWebApp_client&amp;code=' + authcode + '&amp;redirect_uri=http://localhost:3000&amp;grant_type=authorization_code';
          let headers = new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' });
          let options = new RequestOptions({ headers: headers });
          this.http.post('https://fedloginqa.test.com/as/token.oauth2', data, options)
              .subscribe((res: Response) =&gt; {
  
                  var resultsToken = res.json();
                 localStorage.setItem("access_token",resultsToken.access_token)
                  //return this.inspections;
              })
  
      }
  </code></pre>