报错,

来源:3-18 api之http middleware的实现与handler收尾(下)

muke_007

2018-10-15

{“error”:“Request body is not correct”,“error_code”:“001”}{“error”:“DB ops failed”,“error_code”:“003”}
代码不知道哪里有问题怎么办????

写回答

3回答

muke_007

提问者

2018-10-16

问题已解决,忘记填充数据了!哎,...

0
0

muke_007

提问者

2018-10-15

https://github.com/ajunlab/video_server/issues/1

the code is here , help!

when my chrome input http://127.0.0.1:8000/user, the method is POST
return:
{"error":"Request body is not correct","error_code":"001"}

//img.mukewang.com/szimg/5bc4b50700010fa712090374.jpg

0
1
艾文西
有效信息太少,而且POST是不是没有body?
2018-10-16
共1条回复

muke_007

提问者

2018-10-15

$ ./api.exe

2018/10/15 21:41:28  session id: 8c4f9210-f001-04e7-2757-1d56640ec9a7, ttl: 1539604639471

这个是后端返回值,

0
0

Go语言实战流媒体视频网站,高效学习Go高性能开发

从零开始,全面掌握Go语言编码的架构风格和开发Web的关键技能

996 学习 · 268 问题

查看课程