add common rest header and actually make requests