Write your first API test using JavaScript