I am trying to get a attchements by passing attachmentId but in response I am getting 303
can someone help me how to process 303 response, returning empty body.
final HttpRequest req = new HttpRequest();
req.setEndpoint('https://xxxx.atlassian.net/rest/api/3/attachment/content/10004');
req.setMethod('GET');
Blob headerValue = Blob.valueOf(userName**** + ':' + token****);
String authorizationHeader = 'Basic ' +EncodingUtil.base64Encode(headerValue);
eq.setHeader('Authorization', authorizationHeader);
req.setHeader('Content-Type', 'application/json');
HttpResponse res = new Http().send(req);
print(res.statusCode()) //returning 303