title: Post 405 (Method Not Allowed) api symfony angular
body: <p>When I went to run <a href="https://github.com/FlorianLeclercq/bonobo_island_2" rel="nofollow noreferrer">this project api</a> with command <code>http-server -o</code> 
  which talk about  (api Rest with symfony backend and angular frontend) I had this error:</p>
  
  <blockquote>
    <p>POST
    <code>http://127.0.0.1:8080/app/api/src/AppBundle/Controller/MainController.php</code>
    405 (Method Not Allowed)angular.js:12265</p>
  </blockquote>
  
  <p>and this my network:</p>
  
  <p><img src="https://i.stack.imgur.com/IY3yq.jpg" alt="network"> </p>
  
  <p>someone have any idea what's the problem or how i can solve.</p>
  
  <p>this my project in symfony without api angularjs <a href="http://github.com/FlorianLeclercq/bonobos_island" rel="nofollow noreferrer">https://github.com/FlorianLeclercq/bonobos_island</a></p>