I m getting "405 Method Not Allowed" error for my angularjs application running on PHP over iis 8.5
These are my header request...
Access-Control-Allow-Headers:Content-Type, Accept
Access-Control-Allow-Methods:GET, POST, PUT, DELETE, OPTIONS
Access-Control-Allow-Origin:*
Allow:GET, HEAD, OPTIONS, TRACE
What i can see is that post is missing in "Allow:GET, HEAD, OPTIONS, TRACE"
Can any one guide me how to enable POST request in IIS 8.5.
SOLVED
i finally solve this.... I guess the issue was in MY URL - api/login which is called in POST... i changes that URL with api/login/checklogin.php and executed POST request.... it works.......
SUPER THANKS TO LIN for his guidance and
http://stackoverflow.com always gives you the best.... THANKS ALL..