{hero}

ajax.deleteBody

Since: Editor 1.6.2

Allow a DELETE Ajax request to have a body or not.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

When using a REST interface you might come across the case whereby your HTTP server does not process information that is sent in the request body (more commonly known as "POST parameters"). The HTTP specification says that the DELETE request may have a body, but that also in turn infers that it may not, and different implementations do it different ways.

Editor defaults to the common denominator and all DELETE requests will have their parameters sent as part of the query string. However, this behaviour can be controlled through the use of this parameter, which, when set to false, will cause the Ajax request to retain its body parameters.