# Slim Framework v3 Put method Error?

**URL:** <https://discourse.slimframework.com/t/slim-framework-v3-put-method-error/1796>\
**Category:** Questions\
**Created:** [September 5, 2017, 7:21pm UTC](https://discourse.slimframework.com/t/slim-framework-v3-put-method-error/1796 "2017-09-05T19:21:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsmemihir](https://avatars.discourse-cdn.com/v4/letter/i/e9bcb4/32.png) [@itsmemihir](https://discourse.slimframework.com/u/itsmemihir)\
**Post date:** [September 5, 2017, 7:21pm UTC](https://discourse.slimframework.com/t/slim-framework-v3-put-method-error/1796/1 "2017-09-05T19:21:42Z")

</div>

when i using put method  
can’t retrive form-data values  
here is my code

$app-\>put(’/api/task/’, function ($request, $response, $args) {  
$input = $request-\>getParsedBody();  
print\_r($input);  
});

i’m also try ‘getParams’ method that also can’t

---

<div class="post-metadata">

**Author:** ![tflight](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/tflight/32/1205_2.png) [@tflight](https://discourse.slimframework.com/u/tflight)\
**Post date:** [September 5, 2017, 9:48pm UTC](https://discourse.slimframework.com/t/slim-framework-v3-put-method-error/1796/2 "2017-09-05T21:48:46Z")

</div>

`$input = $request->getParsedBody();` looks good-- so whatever is going on is likely elsewhere in your code. I assume you are overriding the HTTP request method in the form.
