title: Recommended way to send inserted data [to database] back to application
body: <p>I am developing a Rest web service. 
  For some Requests I need to Insert the data in database and send back the same data if the Insertion is successful.</p>
  
  <p>Which among the following is the right way to do this and <strong>WHY</strong> ?: </p>
  
  <p><strong>[ Method 1 ]</strong> While sending back the data do I need to just check whether the <em>INSERT</em> query has been successfully executed or not and if Yes, then send the same data which I received in Request back as Response (without SELECT the data from database). </p>
  
  <p><strong>OR</strong> </p>
  
  <p><strong>[ Method 2 ]</strong> After inserting the data I have to get the Primary Key of inserted record and use it to <em>SELECT</em> all the data, and then send it as response ?</p>