title: What url should I use to verify my receipt in In-App Purchase
body: <p>The above question I found in FAQ in Apple's Tech Notes (<a href="http://developer.apple.com/library/ios/#technotes/tn2259/_index.html" rel="nofollow">QNo: 15</a>). They gave an answer like this:</p>
  
  <blockquote>
    <p>Use the sandbox URL <a href="https://sandbox.itunes.apple.com/verifyReceipt" rel="nofollow">https://sandbox.itunes.apple.com/verifyReceipt</a>
    while testing your application in the sandbox and while your
    application is in review.</p>
    
    <p>Use the production URL <a href="http://buy.itunes.apple.com/verifyReceipt" rel="nofollow">http://buy.itunes.apple.com/verifyReceipt</a> once your application is live in the App Store.</p>
  </blockquote>
  
  <p>But in In-App Purchase Programming Guide (<a href="http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StoreKitGuide/VerifyingStoreReceipts/VerifyingStoreReceipts.html" rel="nofollow">Verifying a Receipt with the App Store Section</a>). Apple provides an url like this:</p>
  
  <blockquote>
    <p>Post the JSON object to the App Store using an HTTP POST request. The
    URL for the store is <a href="https://buy.itunes.apple.com/verifyReceipt" rel="nofollow">https://buy.itunes.apple.com/verifyReceipt</a>.</p>
  </blockquote>
  
  <p>Note that first url is using http for live account for verifying In-App Purchase while second one is using https. Which one i should use? My app got rejected because server is not getting correct response, when it sends receipt to Apple. I am using <a href="https://buy.itunes.apple.com/verifyReceipt" rel="nofollow">https://buy.itunes.apple.com/verifyReceipt</a> for verifying receipt.</p>