Got a basic rest endpoint working.