Error with status code 200 which seems wrong?

Response.status(Response.Status.OK).entity("Authenticated").build();

gives response as

ERROR HttpErrorResponse {headers: HttpHeaders, status: 200, statusText: "OK", url: "http://localhost:4200/webapi/Login", ok: false, …}

which seems error somewhere

if I do Response.status(Response.Status.OK).entity(username).build();

then I get response without error....

Read More »

By: StackOverFlow - 6 days ago

Related Posts