Solution:
var client = new HttpClient(new NativeMessageHandler());
This is all code I had to change new NativeMessageHandler()
.
I also added a package to my solution. Search for “modernhttpclient”.
Thanks everybody for help.
solved How to make HTTP POST web request on xamarin?