Getting 401 status code HP alm rest api for "/defects/defectid" api
I am trying to access HP alm rest api.
-
i am able to get 200 OK response for /authentication-point/authenticate api
-
I am able to get 201 for POST /rest/site-session api. Session is being created.
-
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.