Changes between Version 1 and Version 2 of Ticket #36245


Ignore:
Timestamp:
Mar 11, 2025, 9:03:02 AM (22 hours ago)
Author:
Adya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36245 – Description

    v1 v2  
    1212For instance, with `request.body`, a developer working with JSON data would need to write
    1313
    14 ```python
     14`
    1515import json
    1616data = json.loads(request.body)
    1717user_name = data.get('name')
    18 ```
     18`
    1919
    2020With 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')`
    2422I am creating the test cases and patches for this implementation then PR it
    2523**Implementation Plan:**
Back to Top