Skip to content

Commit

Permalink
#17 - spring boot explicit application/json
Browse files Browse the repository at this point in the history
  • Loading branch information
obriensystems committed Oct 6, 2024
1 parent 91ae102 commit 205cb1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ record = fakeRecord;
StringBuffer xmlBuffer = new StringBuffer();
// check local cache first
String activeId = applicationService.activeId();//null;
// Issue with retrieving id in js all of a sudden - avoiding json for now
// make sure the content type is application/json on the response header
xmlBuffer.append("{\"id\" : ").append(activeId).append(" }");
//xmlBuffer.append(activeId);
return xmlBuffer.toString();
Expand Down

0 comments on commit 205cb1f

Please sign in to comment.