1

How can I access header values from a web method in WCF Web API?

1 Answer 1

2

You can try something like this:

(using System.Web;)

HttpUtility.UrlDecode(HttpContext.Current.Request.Headers["myValue"]);
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.