brmg | Posts: 13

Get Evidence API

0 votes

Hi I have a question about the Get Evidence API, a dev has asked about how the pdf is assembled as the example response in the documentation shows a series of values such as below:

"TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aG"

And they are wanting to know how these values convet to a pdf file? is an particular software required? or do you know of how other companies have implemented this?


Duo_Liang | Posts: 3776

Reply to: Get Evidence API

0 votes

Hi Brian,

 

You should be able to directly save the response body as a .pdf file since the response type is "application/pdf". The base64 string is just used as an example from my understanding.

 

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off