title: Rails how to enable POST for all controller actions
body: <p>Am usng rails 4 and I have an API controller with many actions. like:</p>
  
  <pre><code>def authenticate
      ........
  end
  
  def get_data
      ...........
  end
  
  ....
  </code></pre>
  
  <p>How do i enable POST request for all actions in the API controller?</p>