Rest service args corrected, using slice instead of size