简体   繁体   English

下面的代码,一个 json 文件有一些丢失的错误,但没有显示可见的更正。 感谢任何帮助或建议

[英]The below code, a json file has some missing errors but no visible corrections are displayed. Appreciate any help or suggestions

Future<List> senddata() async { } final response = await http.post(Uri.parse(("``http://localhost/app/insertdata.php``"), body: { ) "name": user.text "email": pass.text "mobile":mobile.text }); Future<List> senddata() async { } final response = await http.post(Uri.parse(("``http://localhost/app/insertdata.php``"), body: { ) "name": user.text "email": pass.text "mobile":mobile.text });

var datauser = json.decode(response.body);

connection file to a database, have but does not display any errors连接文件到数据库,有但不显示任何错误

  • Make sure your device is connected to inte.net确保您的设备已连接到 inte.net
  • You need to establish connection to the SQL first before requesting any thing in your localhost在请求本地主机中的任何内容之前,您需要先建立与 SQL 的连接
  • Your application and localhost server should be running on the same port to use API's locally in your application.您的应用程序和本地主机服务器应该在同一端口上运行,以便在您的应用程序中本地使用 API。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我正在尝试使用PHP和MySql渲染Google图表,但是没有呈现任何图表并且没有显示错误消息。 HTML代码正确吗? - I am trying to render google chart using PHP and MySql but no chart is rendered and no error message is displayed. Is the html code correct? 这个PHP代码有错误吗? - Is there any errors with this PHP Code? 如何在 mysql 中创建存储过程并在 JAVA 中调用它。 我需要一些帮助来创建一个可调用的过程。 下面是我的代码 - How to create stored procedure in mysql and call it in JAVA. i need some help on creating a callable procedure. below id my code 为了使用我的 netcore api 连接到 Mysql,我应该使用 json 文件连接还是应该使用下面的代码 - For connecting to Mysql with my netcore api should i use a json file to connect or should i use code below 连接数据库后,我可以读取 csv 文件并传递这些值,我可以运行这个 jsr223 采样器,它显示如下错误,请更正以下代码 - after connecting db,i can read the csv file and pass those values and i can run this jsr223 sampler,it shown below errors,please correct below code 有关优化此查询的任何建议 - Any suggestions to optimize this query 需要大量文件上传帮助 - need some help on multy file upload 无法显示注册表错误。 输入也不能插入到mysql - The registration form error cannot be displayed. The input also cannot be inserted to mysql 代码无法正常运行-没有任何错误 - Code not working properly - without any errors 需要一些帮助来为多级列表视图编写json。 ^^ - Need some help to write json for multilevel listview. ^^
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM