Spring: Microservices with Spring Boot: Build and deploy microservices with Spring Boot by Karanam Ranga Rao

Spring: Microservices with Spring Boot: Build and deploy microservices with Spring Boot by Karanam Ranga Rao

Author:Karanam, Ranga Rao [Karanam, Ranga Rao]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2018-03-13T16:00:00+00:00


Any exception for which a custom exception handler is not defined; will be handled by the preceding method.

Response Status

One of the important things to focus on with REST services is the response status of an error response. The following table shows the scenarios and the error response status to use:

Situation

Response Status

The request body does not meet the API specification. It does not contain enough details or contains validation errors.

;400 BAD REQUEST

Authentication or authorization failure.

401 UNAUTHORIZED



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.