working on setting REST headers