use build to build request header and body.