Does reading multipart/form-data request body in apigee, change it in some way ?

Not applicable

My Apigee Proxy accepts a file upload using the multipart/form-data . When I execute a Javascript Policy that does only the following :

var payload = context.getVariable("request.content");
context.setVariable("request.content", payload);

The backend reacts to the data differently on adding this JS policy. How is Apigee changing the binary data here ?

1 2 951
2 REPLIES 2

Not applicable

I don't know the answer to that, but you ought to be able to figure it out using a trace tool, like the one in Apigee Edge. In other words, create a passthrough proxy that does nothing with the payload, and use THAT as the target. Then you can trace it and see the difference.

I'll be interested to hear what you find.