Hi,
We don't use email to login in my organisation, just a username and password.
Can I use the username and api_token with rest api and c#?
e.g
var base64Credentials = Convert.ToBase64String(Encoding.UTF8.GetBytes("username:api_token_string"));
request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {base64Credentials}");
Thanks,
Hi @John Lawlor
Generally if you have an API token you may not even need your username. However I am unsure of interaction with C# though there are extensive python jira libraries for both cloud and data center: https://jira.readthedocs.io/
Best,
Clark
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.