I was trying to make a web Application using ASP.net C#, it need to get a token from my client web API, since i was new to ASP.net i try to get the code from postman. the postman snap code is like this
after i copy the code and paste it to https://curl.olsh.me/ to convert it into c# code the result is like this
when i copy the code into my project it shows error like this
Do I miss something in the code? or anybody have a better way to do this task thanks in advance