Maxus33 Interview Question

How do you do an api call? Code it up