title: why am i getting an HTTP 405 when doing POST with Ruby Grape
body: <p>my code is pretty straightforward:</p>
  
  <pre><code>class App &lt; Grape::API
    resource :pincards do
     post '/' do
     end
    end
  end
  </code></pre>
  
  <p>and i would make a </p>
  
  <pre><code>POST /pincards 
  </code></pre>
  
  <p>but i end up getting HTTP 405 not allowed. Note that if i changed the "post" to:</p>
  
  <pre><code>get '/' do
  end
  </code></pre>
  
  <p>it will work just fine. so i know my stuff is correct i just don't know why im getting that HTTP 405 on POST.</p>
  
  <p>I also wonder if this sample Grape app shows you how you can do a POST:</p>
  
  <p><a href="https://github.com/dblock/grape-on-rack/" rel="nofollow">https://github.com/dblock/grape-on-rack/</a></p>
  
  <p>but im unable to follow it. </p>