Dio post 传值失败

_dioPostData() async {
    var apiUrl = "http://10.0.2.2:8080/index.jsp";
    Dio dio = Dio();
    //var result = await http.post(apiUrl, body: {'name': 'flossysy'}); //此方法可以传值
    Response response = await dio.post(apiUrl, data: {"name": "wendu"}); //此方法传值失败
    print(response.data.toString());
  }

搞不明白这是哪出的问题

讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!