HTTP 405 Error

Source: Internet
Author: User
Just did a download other Web services under the CSS file referencing pictures of the small program, but the beginning of the download down the picture how can not open. I was so depressed that I couldn't think of anything. Carefully check the program many times (because the program code is less), always can not find what is wrong. Later, I printed the returned content and found it was 405 wrong.
 

As for why this error occurred, I am not very clear, I suspect that the server limited the right to direct access to resources, but I measured in the browser, but the normal display. So I went to Baidu for a while, and then saw such a passage:

"Most Web servers, such as Apache, IIS, and Nginx, do not allow static files to respond to post requests, or they return" http/1.1 405 not allowed "errors. ”

It was only then that I realized that my request had been sent out on a post basis. After you change post to get my program is done.

--In addition to study, remember a pen

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.