Parameters passing through endpoint