REST controller works