先贴代码
@POST("room/create")
@Headers({"Content-Type:application/x-www-form-urlencoded; charset=utf-8","Demo-Id:video-live"})
Call<RoomInfoEntity> createRoom2(@Body String body);
我在这里发送的是post请求,但是,请求结果返回 参数是400,Request method 'GET' not supported"
这就搞不懂了,我明明用的是post请求啊
@POST("room/create")
@Headers({"Content-Type:application/x-www-form-urlencoded; charset=utf-8","Demo-Id:video-live"})
Call<RoomInfoEntity> createRoom2(@Body String body);
我在这里发送的是post请求,但是,请求结果返回 参数是400,Request method 'GET' not supported"
这就搞不懂了,我明明用的是post请求啊
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货