# Webdev equivalent of postData in doPut?

**URL:** <https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821>\
**Category:** Ignition\
**Created:** [August 14, 2023, 5:58pm UTC](https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821 "2023-08-14T17:58:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![automatisation](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@automatisation](https://forum.inductiveautomation.com/u/automatisation)\
**Post date:** [August 14, 2023, 5:58pm UTC](https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821/1 "2023-08-14T17:58:39Z")

</div>

Hi,  
Ignition version : 8.1.26  
In the webdev module, with the Python resource, I would like to separate my inserts (POST) from my updates (PUT).  
I'm using postData for the doPost but I can't find an equivalent for the doPut.  
Sending data inside the body seems to be the preferred way from our ERP (in contrast to params).

Are the params the only alternative ? Or is the "putData" planned in a future release ?  
Thanks

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 14, 2023, 5:59pm UTC](https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821/2 "2023-08-14T17:59:57Z")

</div>

`postData` is just an alias available while in a POST request for the common `data` key. You should just use `data` in both handlers.

---

<div class="post-metadata">

**Author:** ![automatisation](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@automatisation](https://forum.inductiveautomation.com/u/automatisation)\
**Post date:** [August 14, 2023, 6:12pm UTC](https://forum.inductiveautomation.com/t/webdev-equivalent-of-postdata-in-doput/77821/3 "2023-08-14T18:12:11Z")

</div>

Ho, perfect.  
The postData in the docs made me not look at data 🙂  
Thanks
