title: iPhone Development - calling external JSON API (will Apple reject?)
body: <p>Ok guys, so im new to iPhone development, so apologies if this is a silly question, but before i actually create my app i want to know if this is possible, and if Apple will reject this.</p>
  
  <p>(Note this is all theoretical)</p>
  
  <p>So i'd have a API (.NET) that runs on a cloud server somewhere and can return HTML/JSON/XML.</p>
  
  <p>I'll have a website that can access this API and allow customers to do some stuff (but this is not important for this question).</p>
  
  <p>I would then like my iPhone app to make a call to this API which would return JSON data. So my iPhone app might make a call to <strong><a href="http://myapp/Foos" rel="nofollow noreferrer">http://myapp/Foos</a></strong> which would return a JSON string of <strong>Foo</strong> objects. The iPhone app would then parse this JSON and do some funky stuff with it.</p>
  
  <p>So, that's the background, now the questions:</p>
  
  <ol>
  <li>Is this possible? (that is, call an external cloud API over HTTP, parse JSON response?)</li>
  <li>What are the chances of Apple rejecting this application (because it would be calling a non-Apple API)</li>
  <li>Are there any limitations (security, libraries, etc) on the iPhone/Objective-C/Cocoa that might hinder this solution? In regards to Security - can you freely make a HTTP (or even HTTPS call) from inside an iPhone app, and parse the response? In regards to libraries - is there sufficient support in Objective-C/Cocoa to accomplish this?</li>
  </ol>
  
  <p>On <a href="http://iphonedevelopertips.com/cocoa/json-framework-for-iphone-part-2.html" rel="nofollow noreferrer">this</a> website, they seem to be doing exactly what im asking.</p>
  
  <p>Thoughts, suggestions, links would be greatly appreciated...</p>