I am developing a jersey based REST application wherein i am using the response builder as below :
return Response.status(Response.Status.UNAUTHORIZED).entity(e.getMessage()).build();
When executing this API in postman & when it generates this error , i see something like this :
this comes only in the Pretty formatting mode. Is it a problem with Postman client or JAX-RS?
The Request header & the raw mode is shown below :
The "N" here is the first character of the message string. The Raw & Preview mode show the error message just fine.