You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
error 405
About this tag
Error 405, or 'Method Not Allowed', occurs when an HTTP request method like PUT or DELETE is not supported by the server. On WindowsForum.com, discussions often focus on resolving this error on IIS servers, particularly when using REST APIs with PHP backends. Common solutions involve configuring web.config files to allow specific HTTP methods or adjusting IIS handler mappings. Users share troubleshooting steps for enabling PUT and DELETE requests, addressing issues with server settings that block these methods. The tag covers practical fixes for developers and administrators encountering 405 errors in IIS environments.
I am running a simple website on a hostforlife.eu windows server, I suppose it is IIS server. The backend of the website is REST api implemented in PHP. However, when I send requests with PUT and DELETE as method, it just return 405 method unsupported. My web.config is like this:
<?xml...
api requests
backend development
configuration
debugging
delete
error405
hosting issues
http methods
iis
php
put
rest api
rewrite
server issues
web development
web server
web.config
windows server