Inside the Frame method a method nginx 405 error Status code:405 method not allowed
Remote address:102.224.214.168:80
Request url:http://test.miyabaobei.com/index.php/wap/paycenter-perpare_by_weixin.h ...
Request Method:get
Status code:405 Method not allowed
Reply content:
Inside the Frame method a method nginx 405 error Status code:405 method not allowed
Remote address:102.224.214.168:80
Request url:http://test.miyabaobei.com/index.php/wap/paycenter-perpare_by_weixin.h ...
Request Method:get
Status code:405 Method not allowed
A 405 error usually occurs when the requested method does not match your configuration, for example:
javascript
app.post('/some/thing', function() {});
If I access/some/thing through the browser, I'm definitely throwing a 405 exception because the defined route only supports the Post method.
Look at the routing ah what frame ah.
Quite simply, you should be using a backbone, or similar front-end frame. This framework defaults to your server being restful, 405, is the request you initiated is not post, is put, you can grab a packet to look at. If you are using backbone, you can reply to me, I have only recently solved this problem.