无法加载PDF Webapi HTTP响应消息

时间:2019-12-21 12:28:35

标签: c# pdf asp.net-web-api

我写了一个返回PDF的Webapi。当我打开pdf时,它显示无法加载文件。这是webapi代码。我正在使用HTTP响应消息。 webapi读取文件并返回pdf

enter code here

公共HttpResponseMessage GetPDF(){ enter image description here }

0 个答案:

没有答案