[英]Http response erroring out when trying to read response from server
錯誤信息不完整,您在哪一行得到錯誤?
我假設您的 uri 和其他一些東西都可以。
將 filtereDto 更改為:
Map<String,dynamic> filterDto={
'date':'2020-02-07....',
'countryId':'1' // string number
}
你不需要:
json.encode(filterDto)
在通話后,只有 filterDto 就足夠了
... body: filterDto ...
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.