Reasoning: - Browser fetch does not forbid sending body for DELETE, but does forbid it for GET/HEAD. Example: https://i.imgur.com/UUIb7k3.png (tested in Chrome) - Axios does support sending body for DELETE, but not for GET/HEAD. Reference: https://github.com/axios/axios/issues/897#issuecomment-343715381 It's unclear if interface should be `taxios.delete(url, body, params)` or `taxios.delete(url, { ...params, body })`, or something else.
Reasoning:
Example: https://i.imgur.com/UUIb7k3.png (tested in Chrome)
Reference: Support delete body axios/axios#897 (comment)
It's unclear if interface should be
taxios.delete(url, body, params)ortaxios.delete(url, { ...params, body }), or something else.