Having problems with an Ajax call to get an object of members in a team

/api/ URLs are not part of the documented API and it seems like they don’t support CORS. You might be able to request it using jsonp, otherwise you’ll need a server to proxy the requests.