Unreadable response from postman with pdf generated from renderPDFForm service- Adobe Live Cycle | Community
Skip to main content
Level 3
October 24, 2024

Unreadable response from postman with pdf generated from renderPDFForm service- Adobe Live Cycle

  • October 24, 2024
  • 3 replies
  • 1460 views

Hi Team,

I have the requirement where I have to generate the adaptive pdf as resultant pdf. I have used the renderPDFForm service of FormService to generate the adaptive pdf. But when I am hitting the REST API from the postman am getting 200 response code with unreadable response. There is another team who is consuming our REST API in order to get the adaptive pdf and stored it in the database.

 

I wanted to understand how upstream consume our REST API that's having unreadable response.

 

 

3 replies

Adobe Employee
October 24, 2024

Which endpoint are you trying?

Level 2
October 24, 2024

REST API from process design 

Pulkit_Jain_
Adobe Employee
Adobe Employee
October 24, 2024

@amreen1 

Could you elaborate "adaptive pdf"?

Do you want to merge the data from the adaptive form into a pdf? You can leverage DoR service to generate the output pdf and the resultant pdf can be fetched/downloaded via API call from Postman.

Pulkit_Jain_
Adobe Employee
Adobe Employee
October 24, 2024

@amreen1 @amreenkhan 

I just got your latest response. It seems you're using the JEE process to fetch/convert the PDF. The above-mentioned solution is specific to the Adaptive form use cases.

Amreen1Author
Level 3
October 24, 2024

Thanks @pulkit_jain_ @workflowuser  for quick response. Really appreciate . 
Actually the problem is that there is another team who is consuming our REST API for ex: "https://hostname:port/rest/services/xyz:1.0" . When I am hitting this url through postman it is giving 200 code but unreadable response   The other consuming teams expecting readable output response from postman as below Screen shot. can we not get the readable response? OR how other team consume REST API

 

 

kautuk_sahni
Community Manager
Community Manager
November 26, 2024

@amreen1  Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni