create methods read id from http headers