Liebherr Group Interview Question

How does API works and types?