# How to get pdf files correctly from a get request?

**URL:** <https://community.postman.com/t/how-to-get-pdf-files-correctly-from-a-get-request/27241>\
**Category:** Help Hub\
**Created:** [August 28, 2021, 7:38am UTC](https://community.postman.com/t/how-to-get-pdf-files-correctly-from-a-get-request/27241 "2021-08-28T07:38:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![navigation-operator1](https://avatars.discourse-cdn.com/v4/letter/n/839c29/32.png) [@navigation-operator1](https://community.postman.com/u/navigation-operator1)\
**Post date:** [August 28, 2021, 7:38am UTC](https://community.postman.com/t/how-to-get-pdf-files-correctly-from-a-get-request/27241/1 "2021-08-28T07:38:55Z")

</div>

When am sending a get request to my API, am getting the text written in original pdf, but also getting some other details like  
%PDF-1.3  
%����  
1 0 obj  
how to avoid it and get the exact content in the pdf files and is there any way to directly download in the form of pdf or i’ll have to change the response to pdf externally using an online converter

 ![Screenshot (424)](https://us1.discourse-cdn.com/getpostman/original/3X/a/b/ab70b469c610243dacde0100f865a2e1697ae3eb.png)

---

<div class="post-metadata">

**Author:** ![arlem](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/arlem/32/3078_2.png) [@arlem](https://community.postman.com/u/arlem)\
**Post date:** [August 31, 2021, 9:04am UTC](https://community.postman.com/t/how-to-get-pdf-files-correctly-from-a-get-request/27241/2 "2021-08-31T09:04:27Z")

</div>

Welcome @navigation-operator1 👋

Have you tried saving the response to a file? Click Save Response → To a File.  
Since the API you’re using requires authentication I can’t try it out but it looks like you may be querying a page displaying a PDF rather a pdf directly.
