The HTTP protocol defines methods to indicate the actions that need to be performed on the Web server to obtain specific URL resources specified by the client, such as your browser or our Checkupdown robot. These methods are as follows: Options:
Transferred from: http://www.cnblogs.com/SilenceTom/p/6697484.htmlThe calling interface encountered an error Response for preflight have invalid HTTP status code 405 , which was to use the Put method to submit the request interface. The Content-type
HTTP Status Response code explanation/DaquanThe HTTP status code is a 3-bit numeric code that represents the HTTP response status of the Web server. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774
Example 1: Send a POST request to an HTML static page on the Apache server with the Curl command under Linux
Copy Code code as follows:
[Root@localhost ~]# curl-d 11=1 http://www.jb51.net/index.html
405 Method Not allowed
Example 1: Use the curl command in linux to send a POST request to the HTML static page on the Apache server
Copy codeThe Code is as follows: [root @ localhost ~] # Curl-d 11 = 1 http://www.jb51.net/index.html
405 Method Not Allowed
Method
First, I used the symfonyhttp-foundation component. Ajax request end: {code...} php response end: {code...} nginx configuration: {code...} This is returned
First, I used the symfonyhttp-foundation component.
Ajax request end:
$.ajax({ url: jsui.
Status Codes and type status codes of SIP response messagesTemporary response (1xx) 100 trying in process180 ringing181 call being forwarder call forward182 queue181 * session progress session
Successful SESSION (2XX) 200 OK session
SIP response code
The response code is included, and the HTTP/1.1 response code is extended. Not all HTTP/1.1 Response codes are properly applied, but only pointed out in the discount. Other HTTP/1.1 Response codes should not be used. In addition,
I. Request (Requests)Request:An application request is represented by a Yii\web\request object that provides information such as a request parameter (a translator note: Usually a get parameter or post parameter), HTTP headers, cookies, and so on. By
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.