今天在工作中遇到报400的错误,前台报错Post400:Bad request ,The request sent by the client was syntactically incorrect., 后台没反应
后来经过排查,才得知:前后台参数是一致的,但有个参数值=null,直接报400
心得:可以给后台传字符串null,但不能传null空值
今天在工作中遇到报400的错误,前台报错Post400:Bad request ,The request sent by the client was syntactically incorrect., 后台没反应
后来经过排查,才得知:前后台参数是一致的,但有个参数值=null,直接报400
心得:可以给后台传字符串null,但不能传null空值