Paycom interview question

How would you go about testing an API?