I am trying to download pdf file generated by itext.
In my application, jquery, rest web service is being used.
As of now, i am able to create pdf file at server side but facing issue while sending to html.
I have tried below links with no success.
iTextSharp generated PDF: How to send the pdf to the client and add a prompt?
Download pdf file using jquery ajax
When i see in developer tool, i can see below data in response of ajax request.
Block quote%PDF-1.4 %���� 3 0 obj <>stream x���|E� ...
Block quote