You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello,
I would like to create a client including the request and response classes.
Unfortunately my url was rejected by nSwagStudion because the API service has an authentication with username and password.
Please inform me if and how an authentication can be given via nSwagStudion.
Manual login to service:
System.Net.HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(nurl);
httpWebRequest.ContentType = "application/json";
httpWebRequest.Method = "POST";
httpWebRequest.Credentials = new System.Net.NetworkCredential("UserName", "Password");
regards...
Beta Was this translation helpful? Give feedback.
All reactions