Changes between Version 1 and Version 2 of Ticket #36245
- Timestamp:
- Mar 11, 2025, 9:03:02 AM (22 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36245 – Description
v1 v2 12 12 For instance, with `request.body`, a developer working with JSON data would need to write 13 13 14 ` ``python14 ` 15 15 import json 16 16 data = json.loads(request.body) 17 17 user_name = data.get('name') 18 ` ``18 ` 19 19 20 20 With the proposed `request.data`, this simplifies to something like: 21 ```python 22 user_name = request.data.get('name') 23 ``` 21 `user_name = request.data.get('name')` 24 22 I am creating the test cases and patches for this implementation then PR it 25 23 **Implementation Plan:**