Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

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 82
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