REST setup