title: curl -X PUT zsh permission denied
body: <p>Tutorial: <a href="https://thinkster.io/angulartutorial/mean-stack-tutorial/#upvoting-posts-10" rel="nofollow">https://thinkster.io/angulartutorial/mean-stack-tutorial/#upvoting-posts-10</a></p>
  
  <p>I've been learning MEAN tutorial through the thinkster link above (emulating Reddit/Hacker News) and I've been perplexed on a permission denial when sending a curl -X PUT command:</p>
  
  <p><code>curl -X PUT http://localhost:3000/posts/&lt;POST ID&gt;/upvote</code></p>
  
  <p>Response: <code>zsh: permission denied: /upvote</code></p>
  
  <p>I'm expecting the post value returned back with the upvote property incremented.</p>
  
  <p>I've set up my models (Posts and Comments), routes, and schemas to match that of the tutorial and I'm not sure what I'm missing. Is this an issue with permission levels on my end? If so, how do I go about changing it or modifying it for just testing purposes like above?</p>