Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created July 1, 2019 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/3371f48afadbbd893b98bc7bc9188bf0 to your computer and use it in GitHub Desktop.
Save recursivecodes/3371f48afadbbd893b98bc7bc9188bf0 to your computer and use it in GitHub Desktop.
UserResource.java
@GET
@Produces(MediaType.APPLICATION_JSON)
public Response getDefaultMessage() {
    return Response.ok(Map.of("OK", true)).build();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment