.Net Core报错"'0x0A' is invalid within a JSON string. The string should be correctly "缘由就是没加引号

今天一个测试小姐姐测个人接口,发现了一个错,乍一看还觉得是模型验证的问题。其实是她传参的问题。一个参数少加了一个引号。web { “Message”: “‘0x0A’ is invalid within a JSON string. The string should be correctly escaped. Path: $.EnterpriseSerial | LineNumber: 1 |
相关文章
相关标签/搜索