{"action":"created","issue":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/10499","labels_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10499/labels{/name}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10499/comments","events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10499/events","html_url":"https://github.com/phalcon/cphalcon/issues/10499","id":87278608,"number":10499,"title":"Put parameters ?","user":{"login":"Jurigag","id":10086991,"avatar_url":"https://avatars.githubusercontent.com/u/10086991?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurigag","html_url":"https://github.com/Jurigag","followers_url":"https://api.github.com/users/Jurigag/followers","following_url":"https://api.github.com/users/Jurigag/following{/other_user}","gists_url":"https://api.github.com/users/Jurigag/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurigag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurigag/subscriptions","organizations_url":"https://api.github.com/users/Jurigag/orgs","repos_url":"https://api.github.com/users/Jurigag/repos","events_url":"https://api.github.com/users/Jurigag/events{/privacy}","received_events_url":"https://api.github.com/users/Jurigag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-11T09:32:04Z","updated_at":"2015-06-11T13:51:48Z","closed_at":null,"body":"When i create put parameters with payload like this : {firstName:123,lastName:123} when i do $this->request->getPut() phalcon return array like this:\r\n\r\narray(1) {\r\n  [\"{firstName:123,lastName:123}\"]=>\r\n  string(0) \"\"\r\n}\r\n\r\nwhich is completely useless, i had to do this : json_decode(key($params),true) then i got right array."},"comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments/111142465","html_url":"https://github.com/phalcon/cphalcon/issues/10499#issuecomment-111142465","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/10499","id":111142465,"user":{"login":"andresgutierrez","id":213590,"avatar_url":"https://avatars.githubusercontent.com/u/213590?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgutierrez","html_url":"https://github.com/andresgutierrez","followers_url":"https://api.github.com/users/andresgutierrez/followers","following_url":"https://api.github.com/users/andresgutierrez/following{/other_user}","gists_url":"https://api.github.com/users/andresgutierrez/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgutierrez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgutierrez/subscriptions","organizations_url":"https://api.github.com/users/andresgutierrez/orgs","repos_url":"https://api.github.com/users/andresgutierrez/repos","events_url":"https://api.github.com/users/andresgutierrez/events{/privacy}","received_events_url":"https://api.github.com/users/andresgutierrez/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T13:51:48Z","updated_at":"2015-06-11T13:51:48Z","body":"It doesn't parse the payload as JSON, it assumes the input comes from in the form of variable=value:\r\n\r\nhttps://github.com/phalcon/cphalcon/blob/2.0.x/phalcon/http/request.zep#L118-L132"}}