MCPcopy Create free account
hub / github.com/codecombat/codecombat / postExam

Function postExam

app/core/api/exams.js:3–8  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1const fetchJson = require('./fetch-json')
2
3const postExam = async (options) => {
4 return fetchJson('/db/exam', {
5 method: 'POST',
6 json: options,
7 })
8}
9
10const getExamById = async (id) => {
11 return fetchJson(`/db/exams/${id}`)

Callers 1

createExamFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected