0

I am not able to work with HTTPS URL in Android webservice.

It's working with HTTP but not with HTTPS.

I don't have any idea how to use HTTPS.

Do I have to add any extra code?

Grant Miller
  • 27,532
  • 16
  • 147
  • 165
  • 2
    Please define "not working". Does it give you an error or exception? Can you share the url you're trying to connect to? – Jason Oct 11 '18 at 19:46
  • If this is your web service, it sounds like maybe the web service isn't configured to use https. You would need a certificate installed on the web server, and a little bit of configuration to make that happen. Can you perform a GET request against the web service from your browser like Google Chrome? If not, then Xamarin has nothing to do with the problem... – Dave Smash Oct 11 '18 at 20:05
  • 1
    Hello wesam, could you please update with a code snippet of what you are trying to do? also it would help to post any error messages you are receiving – Scarnet Oct 11 '18 at 22:46
  • When I enter web.config and insert this code: app stop work on physical android device, whene remove it all things fine. – WESAM ELKHATEEB Oct 12 '18 at 13:52

0 Answers0