Return XML or JSON from a REST controller based on request parameters

后端 未结 0 1110
眼角桃花
眼角桃花 2021-02-14 09:33

This is my controller:

@PostMapping(value = "/endpoint", produces = { APPLICATION_JSON_VALUE, APPLICATION_XML_VALUE})
@ResponseBody
public Result genera         


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