JavaScript
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}}; fetch('https://studyfetchapi.com/api/v1/usage-analyst/test-questions', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
API Key for authentication
User ID to get test results for
Array of group IDs to filter
["class-101", "class-102"]
Test results with questions retrieved successfully
Was this page helpful?