做post請求時,服務端可以偵測到接收到兩個非空的字段,但是回傳了錯誤分類: JAVA HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException type Exception report message Request processing failed ; nested exception is java.lang.NullPointerException description The server encountered an internal error that prevented it from fulfilling this request. exception o
空指针了,说明你服务端写的有问题了。好好测测服务端,接受空字段报错了应该。