# Get data from form-data PUT request in django

**URL:** <https://forum.djangoproject.com/t/get-data-from-form-data-put-request-in-django/32931>\
**Category:** Forms & APIs\
**Created:** [July 12, 2024, 4:21pm UTC](https://forum.djangoproject.com/t/get-data-from-form-data-put-request-in-django/32931 "2024-07-12T16:21:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![feniltr](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/feniltr/32/22572_2.png) [@feniltr](https://forum.djangoproject.com/u/feniltr)\
**Post date:** [July 12, 2024, 4:21pm UTC](https://forum.djangoproject.com/t/get-data-from-form-data-put-request-in-django/32931/1 "2024-07-12T16:21:54Z")

</div>

How can I send data and media/image with PUT method.

Because when I do that it’s not happening.

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [July 12, 2024, 4:46pm UTC](https://forum.djangoproject.com/t/get-data-from-form-data-put-request-in-django/32931/2 "2024-07-12T16:46:40Z")

</div>

Welcome @feniltr !

If you’re using class-based views, you have to configure your view to handle that verb. (By default, the Django CBVs only handle GET and POST, since that’s all that a browser will submit.)
