Ask a Question

REST-POST-application/octet-stream - save to file - send to next request

SOLVED
subhaD
Contributor

REST-POST-application/octet-stream - save to file - send to next request

I am trying to save the response from post req to a file in file system, the response is in octet- stream 

I am using groovy to write raw response to file, but raw response has headers, I want only messy data from response in a file. 

 

I will passing this file to next request. 
any help is appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
richie
Community Hero

Re: REST-POST-application/octet-stream - save to file - send to next request

Hi,

 

If you're you need to pass on a response attribute onto a subsequent response - cant you just use the property transfer and datasink out of the box functionality to do this? 

 

i.e. use the property transfer function to pass the attribute value to the subsequent request and property transfer to the datasink (file) type?

 

Perhaps I am misunderstanding something?

 

Cheers,

 

richie

 

 

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

View solution in original post

1 REPLY 1
richie
Community Hero

Re: REST-POST-application/octet-stream - save to file - send to next request

Hi,

 

If you're you need to pass on a response attribute onto a subsequent response - cant you just use the property transfer and datasink out of the box functionality to do this? 

 

i.e. use the property transfer function to pass the attribute value to the subsequent request and property transfer to the datasink (file) type?

 

Perhaps I am misunderstanding something?

 

Cheers,

 

richie

 

 

if this helped answer the post, could you please mark it as 'solved'? Also if you consider whether the title of your post is relevant? Perhaps if the post is solved, it might make sense to update the Subject header field of the post to something more descriptive? This will help people when searching for problems. Ta

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: