Coupa Software Inc interview question

3)How do you test an api? - Given a sample api and asked how to test that