Quantcast
Channel: ASP.NET / ASP.NET Core
Viewing all articles
Browse latest Browse all 108

Web api basic authentication

$
0
0
Hi,

Looking for some help please. I have an android application that is using httpclient to call my web api that is hosted on discountasp.net.

This is working fine and I'm able to read the returned JSON and display in my application.

I have setup one API to use basic authentication so that username:password is sent in the header. I haven't configured SSL yet on discountasp.net as I want to test it first. I have tested this locally by deploying the api to localhost and it worked...

Web api basic authentication

Viewing all articles
Browse latest Browse all 108

Latest Images

Trending Articles



Latest Images