flutter dio post 301 Moved Permanently

发布者 : houx 发布时间 : 2021.11.13 15:35:26

flutter dio post 301 Moved Permanently

不知道是什么错误,其他方式测试post没问题

solved :  for i have write a http api url   "const String appApiUrl = 'http://www.lxxx/api';

 

after change the right https api url ,it will work ok

it will forward to https url

although i have add followRedirects: true, in dio option ,but it didn't work 

评论
登陆评论

还没有评论