test server-side API