WCF Rest Service- How to return {} instead of an empty response

前端 未结 0 1725
清歌不尽
清歌不尽 2020-12-21 20:37

we are using WCF, to handle REST API requests. Everything is allright, unless the fact that when the answer is null in c# code, it is translated to an empty str

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