HMAC authentication with delete method failed

I add hmac authentiction to my service . I can make request to my service with POST method and pass the authentiction successfully. But when I modify the method to DELETE.,it return an error to me “:{“message”:“HMAC signature does not match”}” . The setting option “validate request body” is close

Hi @skyniu,

What is the configuration of “validate request body”? true or false? Both DELETE and POST go through the same validation.

Remember if you use request-line, the signature changes depending on the method as it is part of the request-line.

Thank you for your help. I forgot to modify the method of request-line while using “delete” method .Now it worked well.