title: Shopify: Problems Getting OAuth Access Token
body: <p>I've retrieved the authorization code in Step 1 of OAuth without a problem, but for the life of me I can't complete a post to get the access token. I always get the same error:</p>
  
  <p><code>content: "{"error":"invalid_request","error_description":"Could not find Shopify API appli... (length: 103)"</code></p>
  
  <p>Here's what my code looks like...Meteor.http.post is a standard post request. I've tried all sorts of combinations without any luck. I'm developing on localhost: </p>
  
  <pre><code>var url = 'https://' + shopName + '/admin/oauth/access_token';    
  var data = { client_id: apiKey, client_secret: secret, code: code };
  
  Meteor.http.post(url, data,
      function(error, result) {
          debugger;
      });
  </code></pre>
  
  <p>Meteor.post is a standard server-side post request <a href="http://docs.meteor.com/#meteor_http_post" rel="noreferrer">documented here</a>. I've tried params (like the Node Wrapper), an array (like PHP) and a combination of other things. I have no idea.</p>
  
  <p>Is it because I'm developing on localhost and server calls require https now? Is my post data structure wrong?</p>
  
  <p>Any other ideas what I'm doing wrong?</p>