cancel
Showing results for 
Search instead for 
Did you mean: 

Can CPI return the response in.txt format?

Akash
Participant
0 Kudos

Hi,

I have a requirement that when we call the CPI URL, the API should return the response in .txt file format.

is it possible or not?

Ryan-Crosby
Active Contributor
0 Kudos
Define .txt file format... what is the actual format that is returned including the declared content type?
Akash
Participant
0 Kudos
Json format
View Entire Topic
Ryan-Crosby
Active Contributor
0 Kudos

Just add a content modifier step at the end of your flow, and set the Content-Type header to text/plain.

 

Regards,

Ryan Crosby