We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Sending PDF via REST API

Pavan Dev
Tera Contributor

Hi,

 

I'm trying to send the file attached to the record in ServiceNow to the third party, which reads the data and sends the response back to ServiceNow in JSON. I get the response when I try with the POSTMAN, but when I send it via ServiceNow, I have tried with GlideSysAttachmentInputStream()(not working in the scoped app) and getContent() methods. Can someone please help me with this?

 

Thanks,

Pavan.

0 REPLIES 0