REST Interface changed for file upload