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 ?
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.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |