2023 Nov 08 6:31 AM
What is head method and When we go for head operation ?.
2023 Nov 08 6:57 AM
It seems you didn't search before asking.
Searching for you:
2622728 - HTTP HEAD Method is not available in Gateway Client - SAP for Me
2023 Nov 08 7:20 AM
It's like a GET method that doesn't return the response payload (but it does return response headers).
For example if you want to check if an OData server is "up", you could send a GET request for the service document or the metadata document.
But a HEAD request to the same resource might be faster since it won't need to transmit the response payload to the client.
However... Some proxy servers or server frameworks will reject HEAD requests (for "security" reasons), so it's often best not to rely on them working.