MVC GetImage
This page was created by Hans.karlsen@mdriven.net on 2019-08-06. Last edited by Stephanie@mdriven.net on 2025-02-25.

For example in MVC we have a controller GetImage that expects a object identity and a attribute with a blob, like this: http://localhost:5052/Turnkey/GetImage?img=9!10-SomeImage

You may append yet another section with '-' that denotes contenttype header to send to browser:

http://localhost:5052/Turnkey/GetImage?img=9!10-SomeImage-application%2Fpdf will use application/pdf as content type.