Call api with HttpClient
Closed this issue · 2 comments
mtugnoli commented
How authorize (like swagger button) with HttpClient calling ?
Have a sample ?
stepanbenes commented
See ClientApp
project.
api-for-nopcommerce/ClientApp/Program.cs
Line 31 in b552042
stepanbenes commented
then set access token returned in tokenResponse as Authorization header in each http request