Basic REST implementation