Proximus Interview Question

How would you protect API from hacking.