I have created a capture card that will accept the user's email and send it via below api
const url = 'http://localhost:8080/generate-report/$%7Buser.userEmail%7D'
const response = await axios.get(url)
user.userEmail = response.data
but this code is not working