introduce
Your Web server does not understand or support the HTTP methods it finds in the HTTP data stream sent to it by the client, such as your browser or our Checkupdown robot. These methods are defined in the HTTP protocol as follows: options:
Introduction
Your web server does not understand or support the HTTP method it finds in the HTTP data stream sent to a client (such as your browser or our checkupdown robot. The methods defined in HTTP are as follows:
Options: Find the
The server will often appear in error, then in peacetime when the server error, how we are going to solve, today's small series on the simple said server 500 errors, 501 errors, 502 errors, 503 errors, 504 errors, 505 errors in some of the problems.
question: Ajax cross-domain access error 501
Run the following code to make an error 501
$.ajax ({
type: "POST",
URL: "http://192.168.1.202/sensordata.php",
contentType: ' Application/json; Charset=utf-8 ',
HTTP error Code table all HTTP status codes and their definitions.Code indication2XX success200 normal; The request is complete.201 Normal; Immediately after the POST command.202 normal; Accepted for processing, but processing is not yet complete.203
Reference Documentation:
http://www.foreverpx.cn/2016/06/22/cross_content_type/
Problem:
Run the following code to make an error 501
$.ajax ({
type: "POST",
URL: "http://192.168.1.202/sensordata.php",
contentType: '
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.