Swagger请求报错:TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.



 TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body.

如下图所示这种写法不行

 

 修改成

 

 

posted @ 2021-05-31 11:31  yvioo  阅读(1613)  评论(0编辑  收藏  举报