Attach a screenshot as well. In nodejs
Add a new GET endpoint, /math/circle/:r, which takes a radius as a URL parameter. It should then respond in JSON with the area and circumference.
{"area": 3. 14, "circumference": 6. 28}
The area of a circle is PI * r * r, and the circumference is equal to PI * 2r. You can access PI with Math. PI