Is there a way to have the console provide the response body as binary data or to save the response body as a binary file?

Not applicable

I have an api that returns a binary payload in the response body and another api which takes this binary data for the request body. From what I've seen, the console returns the binary data as text which is also truncated. Looking for a way to enable a user trying out the api in the apigee console to take the binary response data from the first api and provide it in the request body of the second api.

An alternative could be to provide a ready made binary file that the user could attach to the second request. Is there a way to store a data file within the console that an end user could use for the request?

Any suggestions would be much appreciated.

Solved Solved
1 2 232
1 ACCEPTED SOLUTION

Not applicable

Hi there!

Unfortunately, we don't have this capability built-in in API Console today.

Thanks,

Archendra

View solution in original post

2 REPLIES 2

Not applicable

Hi there!

Unfortunately, we don't have this capability built-in in API Console today.

Thanks,

Archendra

Does this mean that the JS policy also always treats binary data as (truncated) text or is there a way to get the actual correct binary content?