Microgateway - Delete Operation with Body

Hello Community - It appears our microgateway proxy is not passing the body (with delete operation) to our target apis. We are getting a 400 status code saying the body is missing.

This is a typical case where body needs to be passed with delete verb.

Does anyone successfully implemented this ? Appreciate your help.

0 2 198
2 REPLIES 2

Former Community Member
Not applicable

As mentioned in the link here:

there's a property called useChunkedEncodingByDefault which is set to false by default for any of GET, HEAD, DELETE, OPTIONS and CONNECT. If you want to provide a body, you're free to do so but you have to use Content-Length or Transfer-Encoding: chunked to do so

Thanks @srinandans for directions. We will certainly try it out and keep the thread updated.