cancel
Showing results for 
Search instead for 
Did you mean: 

Pdf file in service response not showing up in "Attachments" tab in Outline/ Overview views

gilugopi
Contributor

Pdf file in service response not showing up in "Attachments" tab in Outline/ Overview views

Hi,

 

I'm using latest version of Ready API but this issue was noted with previous versions as well. Could anyone let me know whether this has something to do with the capability of tool or just wrong expectation from my side?

 

I have a rest service which uses HTTP GET method to return a PDF file in response. If I use just a standard browser like google Chrome and hit the end point of service, browser starts to download file. When same request is run via ReadyApi my expectation was to see the pdf file in "Attachments" tab of Outline OR Overview tab and open it directly fromt there. But no attachment shows up there.

 

Attached is a sample response xml for your reference.

 

Note: At the moment I'm still able to view the PDF file in response by dumping the reponse into a file on my hard drive using ready api.

 

Appreciate your help.

 

Thanks & Regards,

Gilu Gopi

 

 

 

 

 

 

2 REPLIES 2
giusto_pio
New Member

Re: Pdf file in service response not showing up in "Attachments" tab in Outline/ Overview

Haven't faced such an issue by myself, but I would suggest there's a problem with the exact file. Can you download that file and inspect it through some application to workaround with pdf's? For example, this https://edit-pdf.pdffiller.com or Adobe one. I think it will work this way, or at least you'll figure out what's the problem exactly

Olga_T
Moderator

Re: Pdf file in service response not showing up in "Attachments" tab in Outline/ Overview

Hi everyone,

 

@giusto_pio, thank you for your time looking into this.

@gilugopi, have you had a chance to try the above suggestion? 

 


Olga Terentieva
SmartBear Assistant Community Manager

New Here?
Join us and watch the welcome video:
Top Kudoed Authors