Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Null Webresponse body

Vijay Dadi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 6, 2024

Dear All,

I am trying to make a web request to jira user table and extract the accointId. I am getting a successful web response with a status code as 200. But the webResponse.body is getting returned as null ([]). Webresponse screenshot attached below for reference. At the end you can notice that the body is returned as null but from postman, I am getting a proper web response body with jira account details.

automation.jpg

Any guidance is much appreciated.

TIA

Vijay

 

1 answer

1 accepted

1 vote
Answer accepted
Vijay Dadi
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2024

Well, I found an answer to my question.

The API token has to be base64 encoded value

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events