Im trying to POST the following API using C# when a user presses a button on a form. However no idea where to start. Can anyone help ?
Button Code
private void Okta_Click(object sender, RoutedEventArgs e)
{ }
POST : https://test.okta.com/api/v1/authn
Body
{
"username": "user",
"password": "password",
"options": {
"multiOptionalFactorEnroll": true,
"warnBeforePasswordExpired": true
}
}
When the user presses the button, it should add the user to the application.