# system.net.httpDelete missing a body parameter

**URL:** <https://forum.inductiveautomation.com/t/system-net-httpdelete-missing-a-body-parameter/88079>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 29, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/system-net-httpdelete-missing-a-body-parameter/88079 "2024-03-29T17:06:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jackson\_Lancaster](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@Jackson\_Lancaster](https://forum.inductiveautomation.com/u/Jackson_Lancaster)\
**Post date:** [March 29, 2024, 5:06pm UTC](https://forum.inductiveautomation.com/t/system-net-httpdelete-missing-a-body-parameter/88079/1 "2024-03-29T17:06:38Z")

</div>

Not sure if anyone actually uses this function, system.net.httpDelete .

I need to pass in a body to this, but there is no parameter that I can find that allows a body.

Can you help me find where I can add the body?

The http spec allows an optional body in this http method.

> **[DELETE - HTTP | MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/DELETE)**
>
> The HTTP DELETE request method deletes the specified
> resource.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/b/eb2e2e8a6c5e43575cbed0017a77fdbfd7b8ccf6.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 29, 2024, 5:08pm UTC](https://forum.inductiveautomation.com/t/system-net-httpdelete-missing-a-body-parameter/88079/2 "2024-03-29T17:08:54Z")

</div>

Use `system.net.httpClient` instead.

> **[system.net.httpClient | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-net/system-net-httpClient)**
>
> Provides a general use object that can be used to send and receive HTTP requests.
