Click here to Skip to main content
14,979,206 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Getting the data from header
C#
IEnumerable<string> values = new List<string>();
this.Request.Headers.TryGetValues("Authorization", out values);


but how to pass the data through header in post method in api

What I have tried:

how to pass the data through header in post method in api
Posted
Comments

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900