assign payload to request body