title: How to send http put request in Ionic 3?
body: <p>hi this is my api and that work with postman</p>
  
  <pre><code>$app-&gt;put('/mmsg/{id}', function (Request $request, Response $response, array $args) {
    require_once('dbconnect.php');
    $mmsg_id = $args['id'];
    $query = "update mmsg set m_pay=1 where mmsg_id=$mmsg_id";
    $result = $contomysql-&gt;query($query);
  });
  </code></pre>
  
  <p>how i send the mmsg_id to this with ionic </p>
  
  <p>please help this is my college project and I got stuck here.</p>