BlackBerry interview question

How do you test an API endpoint