Home > Net >  Basic authentication actionContext. Request. Headers. Authorization is null
Basic authentication actionContext. Request. Headers. Authorization is null

Time:09-17

I have two local project, A project to project B sends A header with Basic HTTP requests, program is written in Webapi, B in the authorization filters appeared problem, here is the
ActionContext. Request. Headers. Authorization is always null, I try to see things from the HttpContext. The Current Request. The value of the Headers to obtain Authorization to receive, but not receive filters this HttpActionContext object, the reason of not clear, how can we get the Headers from HttpActionContext value
?

CodePudding user response:

Layout is a little problem, is actually two pictures, the above is receives the request, the following is send the request
  • Related