Aditi agarwal wrote:hey when i give this code then i got an error opening the document
file doesnot begin with %pdf
Swastik Dey wrote:Aditi,
As suggested by Shashank, you have to first convert the data into pdf format, then only setting the response type will work.
You had your fun. Now it's time to go to jail. Thanks for your help tiny ad.
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earthhttps://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter