Hi @everyone, I'm facing issues with the python policy

I'm making a python policy to perform operations on my incoming payload, but once the operation is completed it is not reflected in postman. I've stored the result in a variable using "flow.setVariable" but it is not helping. 

Please someone help me with this.

@dchiesa1 

@adas 

 

0 1 59
1 REPLY 1

You need to set the value into one of the flow variables "response.content" or "response.header.<somename> to get the response value back to the client. 

Thanks