Page 1 of 1

Using API Gateway

Posted: Wed Sep 22, 2021 8:44 am
by senli
Hi,

We are using Stimulsoft Web MVC version as a micro-service.
Wish to know is it possible to Export Reports, but to go through an API Gateway ?

example when press Export button, it will open a new tab with the url
http://reports/...

instead we would like it to use gateway like below
http://gateway/reports/...

Thanks

Re: Using API Gateway

Posted: Thu Sep 23, 2021 7:00 am
by Lech Kulikowski
Hello,

You can use the following code:
Report.Render(false);
Report.ExportDocument(StiExportFormat.Pdf, stream);

and then use stream as you need

Thank you.