title: HTTP Event Cloud Function: request body value is undefined
body: <p>When sending <code>{"identifiant": "iJXB5E0PsoKq2XrU26q6"}</code> to the below Cloud Function, I cannot get the <code>identifiant</code> value in the request body and it will always return <code>PROBLEMAS NO REQUEST</code>.</p>
  
  <pre><code>import * as functions from 'firebase-functions';
  import * as admin from 'firebase-admin';
  
  admin.initializeApp();
  
  exports.meusCandidatos = functions.https.onRequest((req, res) =&gt; {
      const identifiant = req.body.identifiant;
  
      if(identifiant) res.status(200).json('ok').end();
  
      res.status(500).json('PROBLEMAS NO REQUEST').end();
  
  });
  </code></pre>