Hello,
I am facing some problems when dealing with streaming in my Apigee (Edge) proxy.
I need streaming to be enabled for 2 of my endpoints (let's say POST file and GET file).
For another endpoint which is not related to files, I need to access and process payload (just a lightweight JSON) in Target Endpoint.
I did the following:
- 1 proxy endpoint, with streaming enabled both on request and response
- 1 target endpoint for file operations, with streaming enabled
- 1 target endpoint without streaming for others endpoints
My problem is that when I try to access the payload in the target endpoint without streaming, it is empty. And if I disable streaming at proxy endpoint level, it do not handle heavy file anymore.
How could I implement such conditional streaming ?
Thanks in advance ๐