prepare response using request