Status code (update ...)

  • 400 # request syntax error (not the number of parameters, requesting the wrong way), one case the server receives two parameters, but the number of parameters passed in the request is not 2; there may be restriction request is to be made the server get, However, one of the requested using a post, put the like. For example, when micro-channel APP yii do pay because of the limitation of the frame, CSRF POST request requires authentication, but did not pass CSRF micro-channel parameters. You can not receive a request of the micro-channel, 400 reported. The solution is to turn off CSRF authentication mechanism in the corresponding controller.

Guess you like

Origin www.cnblogs.com/bneglect/p/11455798.html