Hello, everyone!
I am currently encountering a strange issue when trying to use the JIRA API and basic authentication.
I have made an http request that works successfully in postman and from my app in angularjs:
However, I have now tried to replicate this request in my c# code for my web api and the request never seems to work. Sending the request from here doesn't reflect any use of the api token when checking my api tokens on the JIRA website.
I have replaced my base64encoded password here with $$$$ just for this post.
My response is always:
Why would this request be working in postman but not in my c# code with httpclient? I have tried re-writing this many different ways.
Hi @Spencer Poole. Welcome also to the user community! :-) Just an FYI, I saw your post on the Atlassian Developer Community forums earlier today, and sent over a suggestion to help debug the problem you're having:
p.s. Side note: be sure to change the URL in your C# code to call https, not http.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!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.