Raise error in case if json object has missing keys in post request

后端 未结 0 1630
说谎
说谎 2020-11-28 20:03

I am sending a json in my post request. I want to raise an friendly error in case if any keys is missing.

@PostMapping("/copy")
    fun post(@Reques         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题