Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ protected String getAccessToken(String clientSecret, String clientId, String OAU
.build();

try {
log.info("Going to send an ORCID request to get Access Token");
HttpResponse<String> response = httpClient.send(request, HttpResponse.BodyHandlers.ofString());
if (isSuccess(response)) {
JSONObject responseObject = new JSONObject(response.body());
Expand Down Expand Up @@ -187,6 +188,7 @@ private InputStream httpGet(String path, String accessToken) throws IOException
.build();

try {
log.info("Going to send an ORCID request to: " + fullPath);
HttpResponse<InputStream> response = httpClient.send(request, HttpResponse.BodyHandlers.ofInputStream());
if (isSuccess(response)) {
return response.body();
Expand Down