Aktivity „moodyan“

Hello,

I am trying to open a PDF in a new tab in our JavaScript UI. I have an endpoint that returns an IActionResult File (an application/pdf). When I try to make a request via the Dynamic JavaScript API Client Proxy, the endpoint itself returns a successful repsonse, but the proxy throws a deserialization exception. I have tried passing through various dataTypes via the ajax call and that doesn't seem to make a difference, the request always seems to try to deserialize the response into JSON, which obviously doesn't work. I have also tried returning an HttpResponseMessage from the endpoint and tried different dataTypes and that also isn't working, I still get a derialization exception. Just wanted to check to see if this is currently supported with the client proxy, and if so, what am I missing?

Thanks!

Zobrazených 1 až 1 z 1 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11