How to hash the binary data in apigee to check for integrity ?

Not applicable

Hi All,

We are trying to generate the hash of an incoming binary data payload in apigee. However ,when we are matching it with the one generated by consumer to check for data integrity we are getting different values. Can anyone please guide us if there is any limitation on apigee on binary data processing ?

what is suggested method to process binary data on apigee.

0 3 504
3 REPLIES 3

A properly configured API proxy in Apigee Edge should have no problem dealing with binary data payloads.

How are you generating the hash, can you elaborate?

I know this is an old question; sorry for the delay in responding.

Hey @Dino,

I am running into a similar issue. In my proxy when I have a JS Callout that just does this

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

The backend reacts differently. The hash it seems has changed in some way. Can you guide on what is actually happening ?

For new questions (even related questions), please click the "Ask a Question" button. Like this:

4541-ask-a-question.png

I'll be glad to answer. If you like you can insert a link to this existing Q&A, if it's relevant and helpful. To do that, click the chain link icon in the editor....

4542-add-a-link.png