api to accept header

hi all, how do we add an api to accept a header value sent from postman?

does it make sense to add like
[ServiceFilter(typeof(CustomAuthorization))]

above the api controller and add a CustomAuthorization and pass the request from postman to this class so we can reuse the CustomAuthorization
Was this page helpful?