Hi, I am trying to use Jira APIs for my company profile. I have a service account created and using a auth token. I am getting 200 response from jira APIs but its returning back with a HTML response of the logged in page (Dashboard page once the user is successfully logged in) and not the response for any specific API.
I have tried multiple APIs, I am using Postman to test these. Sharing one example of what I am trying (get all projects):
URL : https://jira.<company-name>.net/rest/api/3/project/
Method : GET
Authorization : Bearer token
Headers : Content-type and Accept as application/json
Please help with what needs to be changed to get the correct json response ?