post接口,http与https相关报错

报错代码如下:

{"code":500,"msg":"Request method 'GET' not supported","data":null}

原因概括:

1.请求方式不对.如果是post的请求,误写成get请求,可能出现此问题.

2.该接口是https请求,那么如果你填的是http的请求,可能出现此问题.

3.其次,工具版本过低,这种几率暂未遇到,可能性小.

posted @ 2020-09-21 18:19  清风吹拂啊狂风肆虐  阅读(1028)  评论(0编辑  收藏  举报