我在我的 intellij idea spring boot aplication 中输入此代码,$ curl localhost:8080/demo/add -d name=First -d email=someemail@someemailprovider.com

问题描述

我在使用 mysql-connector 时遇到了这个错误

POST http://localhost:8080/demo/add

HTTP/1.1 400 内容类型:应用程序/json 传输编码:分块 日期:2021 年 2 月 3 日,星期三 05:25:46 GMT 连接:关闭

{ "时间戳": "2021-02-03T05:25:46.698+00:00",“状态”:400, "error": "错误的请求",“信息”: ””, “路径”:“/演示/添加” }

响应码:400;时间:136ms;内容长度:112字节

这是我的代码github链接

git clone https://github.com/spring-guides/gs-accessing-data-mysql.git

使用这个,gs-accessing-data-MysqL/complete

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)