Construction looks like
l1 = { userid : { key1 : "value1", key2 : "value2"}}
and if userid is set to s5675 I need user id in user place but now output looks like
l1 = {"userid":{"key1":value1,"key2":value2}}
where I need like this
l1 = {"s5675":{"key1":value1,"key2":value2}}
please help me in constructing request like this in angular