Refactor build Header
Refactor CreateHeader for Post & Get method