GET /api/Age/calculateAge: This method calculates the age of a person based on the provided date of birth. It accepts two parameters:
If the date of birth is valid and within the supported formats, the API returns the calculated age in a structured format. If the date format is invalid, it returns a BadRequest response with a relevant error message.
Note : Rapid Api is a paid service.