Nithinss1 / Album-Crud

MIT License
0 stars 0 forks source link

Create a health check API request route #4

Open Braagaa opened 2 years ago

Braagaa commented 2 years ago

Add the following request to the API:

GET /api/_health

It should return the following:

It is common for REST APIs to have a health check request. This is commonly used to check if a server API is up and running. By returning 200, we can be confident that it is.

Braagaa commented 2 years ago

@Nithinss1 do this one first after issues https://github.com/Nithinss1/Album-Crud/issues/1 and https://github.com/Nithinss1/Album-Crud/issues/3