assign request variables and response variables