Getting 401 status code HP alm rest api for "/defects/defectid" api

I am trying to access HP alm rest api.

  1. i am able to get 200 OK response for /authentication-point/authenticate api

  2. I am able to get 201 for POST /rest/site-session api. Session is being created.

  3. but when i am trying to hit /rest/domain/{domain-name}/projects/{project-name}/defect; i am getting 401 status code with below error.

Reason – authentication failed

I tried to pass all headers from /authenticate and /site-session to this api. But still getting 401 error code.

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.