title: POST JSON data to specific object iOS
body: <p>I have read several posts on Stack about how to POST data using both XML and JSON however nothing is standing out to me about how to update a selected object. </p>
  
  <p>I am pulling down data from my boss' job tracking API fine, all things are accounted for. However I want to update individual selected object's variables. </p>
  
  <p>Example:</p>
  
  <blockquote>
    <p>If I have a recipe site API and I am pulling down 100 recipes and displaying the titles in a table. I select a row and it displays a new screen which shows all the details about the recipe with textfields for updating content and a button that will save to the website. <strong>How do I update an ingredient on the selected recipe so that it is represented on the website?</strong></p>
  </blockquote>
  
  <p>Bare in mind I am using my business' API and not Parse.com or another server based database. </p>
  
  <p>I would prefer to use JSON however if there are better solutions using XML I am fine with that. </p>
  
  <p><strong>New Thought</strong></p>
  
  <p>Do I have to replace the entire object when updating? </p>
  
  <p><strong>More Info</strong></p>
  
  <p>Due to using an API, I do not have links directly to a specific object. I get given the block (100 recipes), have to iterate through the block to save each object as NSObject and then sort the newly stored NSObjects how I like to. When I select a row, I am selecting an object that has been sorted and displaying that objects contents. I don't know if this information is helpful or not. </p>
  
  <p>The reason for this extra information is:</p>
  
  <p><strong>When trying to update the Object through the API, how do I know I am updating that specific object and not the entire list of objects?</strong></p>