In the BasicAuthentication policy, how to pass username and password value through request?

Not applicable

We are created API proxy and we have to pass basic authentication values through request.

So we did the following steps:

1) added KeyValueMapOperations for the username and password.

2) added basic Authentication policy

after tracing give some time 500 status code or 404 status code.

1 2 415
2 REPLIES 2

@MBaaS , See similar question here.

It's impossible to diagnose your problem with the information you've provided. Can you provide more information about the 500 or 404s? Where do you see them? Which steps are generating these errors? Every time? or only some times? The more information you can provide, the better chance someone here will be able to understand your situation and provide some help to you.