Created
February 26, 2020 18:17
-
-
Save michaelsanford/473ee311f8d8703ee2cd7760be98e5e8 to your computer and use it in GitHub Desktop.
Log a request payload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@POST | |
@Path("/") | |
public Object something(String json) | |
{ | |
Logger logger = Logger.getLogger(this.getClass().getName()); | |
logger.log(Level.INFO, json); | |
return Response.ok().build(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment