Can someone point me to how I could write a Restle...
# integrations
j
Can someone point me to how I could write a Restlet that returns a PDF of a transaction? I can return other types of data (JSON) which I’m testing with Postman, but I’m not sure how to return an actual file.
e
SuiteScript has a
N/Render
module. Postman has a
Send and Download
button (Send the requester, download the file)
e
As far as I know, you need to return the content on
base64
format and then format/parse it on the other side that is making the request to the restlet.