Which policy to use for calling Digest based authenticated target end point and how?

Not applicable
 
1 1 80
1 REPLY 1

you need to create the Digest header either with js or java or python and add this as a header to the request using AssignMessage policy

I found some samples using js -

https://github.com/jcsirot/digest.js

Also, here - https://community.apigee.com/questions/6864/any-policy-which-will-do-the-digest-auth-authentic.html

@Dino offered to provide a java sample if needed - hope this offer is still valid 😉

Once you have constructed the header you can add it to the outgoing request like this ,

https://community.apigee.com/questions/5001/is-it-possible-to-add-default-header-parameter-in.html