Added root resource
merged
Renamed body and payload due to name conflict
Added proper typecast for the url