windows下curl的json时间问题
curl -H "Content-Type:application/json" -X POST "http://127.0.0.1:8080/testing" -d "{\"name\":\"wang\",\"address\":\"gz\",\"birthday\":\"2000-07-10\"}"
会报这个这个错
person bind error:parsing time ""2000-07-10"" as ""2006-01-02T15:04:05Z07:00"": cannot parse ""
" as "T"
其他字段就没问题(windows双引号前要加上反斜杠)