The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

my POST works in Postman, not in C# httpclient

Rich Carr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 1, 2023

I am using httpclient with a POST async.  In POSTMAN it works fine.  I am also using a Bearer token, headed to https://jira.devops.somegov/rest/api/2/issue

I get a 200 response code, and the response content is basically the JIRA login page.

If you dive in deeper, it says my requestURI was the login page with some redirect after it that is also incorrect.  The X_AUSERNAME says anonymous versus in postman it has my email.

I have confirmed a zillion times that the token is correct and my url is correct.

Thanks in Advance!!!

Rich

 

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.