How to get pdf files correctly from a get request?

When am sending a get request to my API, am getting the text written in original pdf, but also getting some other details like
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

Welcome @navigation-operator1 :wave:

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.