Hi ,
I am sending out as below with name as student.
{ "student": { "name": "Jim", "age": 23, "gender": "Male", "department": "History", "car": "Honda" } }
Instead I would like it to be dynamic based on pathname or query param.
Example if pathname /query param is student it would be {"student": {.....})
and if it is employee it would be {"employee": {.....})