Closed dnns6 closed 1 year ago
hi @dnns6 ,
Manual headers was something that I have been thinking of implementing for quite a long time, but I could not find a real use case where it was needed and that's why I have never done it. Well... now I have a use case! :) Thank you for creating a case and I will see what can be done. Also, If I do this, most probably it will be to included it in a v2 or in one of the future patches, because I am very close to the release and adding new features to v1 is not feasible atm. Hope it's ok.
Thanks
Implemented in v.2.1.0.
Situation: I have a legacy Dynamics 365 (on prem) instance with a custom authentication. I can bypass that auth with specific http-headers (Coookies to be precise)
Request: Allow custom headers to be passed via the DynamicsWebApi config object which are added to each request. (Alternative: in the request object for each request... slightly more effort for me, but it would work)
Thanks for considering :-) And thanks for the solution!!