header change to REST api