How to add bearer token to autogenerated OpenApiToCSharpClient?

前端 未结 0 1368
执笔经年
执笔经年 2021-01-23 18:45

I have client generated using OpenApiToCSharpClient but each request is 401 unauthorized. I have added bearer token in HttpClient like this:

ClientEngine.HttpClie         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题