How to, on a find by id API, send body with HTTP status 200 or empty body with HTTP status 204 using spring webFlux?

前端 未结 0 1084
感情败类
感情败类 2020-12-06 01:02

Even with this code I get an emtpy response with 200 when I look for an non existing person\'s id. How can I set different statuses based on personManager.findById

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