Megaport interview question

Design tests for an API endpoint