title: HTTP POST Request from ionic 3 - PayFort Integration (Redirect Mode)
body: <p>I'm attempting to integrate PayFort to an ionic app.
  No SDK available for ionic so I'm integrating Redirect Mode where we just open a Webpage from Supplier.</p>
  
  <p>Using HttpClient on ionic</p>
  
  <pre><code>let data = JSON.stringify({
    'access_code' : 'xxxxxxxx',
    'amount' : '10000',
    'command' : 'AUTHORIZATION',
    'currency' : 'SAR',
    'customer_email' : 'test@payfort.com',
    'language' : 'en',
    'merchant_identifier' : 'xxxxxxxx',
    'merchant_reference' : 'xxxxx-xxxxx-xxxx-xxxxx',
    'payment_option' : 'MASTERCARD',
    'signature' : 'xxxxxxxxxxxxxxxxxxxxxx' });
  
  
  return new Promise((resolve, reject) =&gt; {
  this.http
  .post(apiUrl,data,options)
  .subscribe(
    data =&gt; {
      console.log("Success: ",data);
      resolve(data);
    },
    error=&gt;{
      console.log("Error:",error);
      reject(error);
    }
  );
  })
  </code></pre>
  
  <p>After executing this code, PayFort returns with 'Parameters Missing' Error.</p>
  
  <p>Same params work on PHP &amp; HTML.</p>
  
  <p>Also tried the following formats of params</p>
  
  <pre><code>let dataString = 'access_code=xxxxxxxxxxx&amp;amount=10000&amp;command=AUTHORIZATION&amp;currency=SAR&amp;customer_email=test@payfort.com&amp;language=en&amp;merchant_identifier=xxxxxxx&amp;merchant_reference=xxxxxxxxxx&amp;payment_option=MASTERCARD&amp;signature=xxxxxxxx'
  
  let dataStringInJSON = {'access_code=xxxxxxxxxxx&amp;amount=10000&amp;command=AUTHORIZATION&amp;currency=SAR&amp;customer_email=test@payfort.com&amp;language=en&amp;merchant_identifier=xxxxxxx&amp;merchant_reference=xxxxxxxxxx&amp;payment_option=MASTERCARD&amp;signature=xxxxxxxx'}
  
  
  let dataJSON = {
    'access_code' : 'xxxxxxxx',
    'amount' : '10000',
    'command' : 'AUTHORIZATION',
    'currency' : 'SAR',
    'customer_email' : 'test@payfort.com',
    'language' : 'en',
    'merchant_identifier' : 'xxxxxxxx',
    'merchant_reference' : 'xxxxx-xxxxx-xxxx-xxxxx',
    'payment_option' : 'MASTERCARD',
    'signature' : 'xxxxxxxxxxxxxxxxxxxxxx' }
  </code></pre>