Javascript
const url = 'https://studyfetchapi.com/api/v1/assignment-grader/get'; const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}, body: undefined}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); }
[ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "grade": 123, "rubric": {}, "title": "<string>" } ]
API Key for authentication
Assignment graders retrieved successfully
The response is of type object[].
object[]
Was this page helpful?