The HTTP verb POST used to access path '/test.html' is not allowed

前端 未结 5 1707
眼角桃花
眼角桃花 2021-01-19 13:55

Below is my code:

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-19 14:26

    This sounds like the directive is used in your (supposedly) Apache web server? You would need to check the httpd.conf for this directive and make sure that POST is allowed to be called on your file.

    Nevertheless does it seem a little odd to POST on a static html file or is mod_rewrite being used to confuse people?

提交回复
热议问题