set header before call
switched add judge call to new apex rest service