Request method VIEW, HEAD & OPTIONS

What is the functions of request methods View, Head & Options.

I need to check whether my RESTful Web service is working or not (like a Ping functionality) without actually performing the entire code logic by using the already existing http URI of web service. Which METHOD to use?

Usually, you can use the HEAD method just to get the response headers, without the body, which is sometimes considered more lightweight for a ping functionality.

I have seen many microservices that implement a health endpoint giving a status of the system. You might want to check if such an endpoint is present.