edit get method to discard api header