如果我不发送任何内容(json或xml),Spring boot中@Requestbody的默认类型是什么,它会接受吗?
最佳答案
Whether body content is required. Default is true, leading to an exception thrown in case there is no body content. Switch this to false if you prefer null to be passed when the body content is null.
关于java - Spring boot中请求体的默认类型是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61928969/