Skip to content

Request getPut #12892

@Jurigag

Description

@Jurigag

Currently getPut is working only on form data, like on raw body request. When you send json it doesn't work and you need to use getJsonRawBody anyway. Im thinking about checking request header - if it's application/json, then use getJsonRawBody instead of getRawBody in getPut method.

To not introduce some big breaking change(will it break anything though?) it could be as php.ini option to enable this behavior.

Any thoughts?

Metadata

Metadata

Assignees

Labels

No fields configured for Feature.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions