Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get hold of the stream or blob when importing a file using REST

smicloud
Tera Guru

I am trying to import a file from a 3rd party and it should be exported again without being attached to a task. In order to do this I need to get hold of the stream or blob in some way. The only thing I know about is getting the file content using .getBody() on the response object. 

 

Is there a way to get hold of the stream or blod using javascript on the server side?

0 REPLIES 0