title: Angular 2 POST with Firefox
body: <p>I am new to Angular 2 and my application that works fine with IE and chrome. However, when I try in Firefox the post request that calls my PHP script does not work within Firefox. </p>
  
  <pre><code>postApplicant(newApplicant: Applicant): Observable&lt;string&gt; {
          let body = `firstName=${newApplicant.firstName}&amp;lastName=${newApplicant.lastName}`;
          let headers = new Headers({ 'Content-Type': 'application/x-www-form-urlencoded' });
              headers.append('Accept', 'q=0.8;application/json;q=0.9');
          let options = new RequestOptions({ headers: headers });
  
          return this.http.post(this.emailUrl, body, options)
                          .map(res =&gt;  &lt;string&gt; res.json())
                          .catch(this.handleError)
  }
  </code></pre>