title: Firebase: responding to http POST request
body: <p>I was thinking of import my server Java code to firebase, basically replace my Dynamic web app with Jeresy and mongoDB to Firebase using hosting and functions .
  I have implemented the sendWelcomeEmail and sendByeEmail with events user.created and user.deleted.</p>
  
  <p>But now I want to do something more complicated.
  Based on post request that comes from the mobile I want to extract the JSON data and then update the DataBase.</p>
  
  <p>So I created js file with plenty of functions but now I am not sure it will actually work.
  Is that the best way to implement this workflow.</p>
  
  <p>The workflow goes like this.</p>
  
  <p>Image is taken on the android device => extract information from image ==> upload the Json Data to the server (Firebase Hosting) => functions is been execute is response to POST request ==> extarct the data ==> save it to the Firebase Database.</p>
  
  <p>Let me know if this sound ok, or I need to implent another workflow.
  Thanks
  Eran</p>