I am migrating from a Java Jax-Rs API into ASP.NET. I have custom header params that I pass into the API.
I couldn't find the way to do the same in ASP.NET.
This is what I have so far:
[HttpPost]
public String login()
{
return "works";
}
I searched in every tutorial I found and couldn't find any mention to this.

