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

Function post

app/core/api/classrooms.js:109–115  ·  view source on GitHub ↗
(classDetails, options)

Source from the content-addressed store, hash-verified

107
108 // classDetails = { aceConfig: {language: ''}, name: ''}
109 post (classDetails, options) {
110 if (options == null) { options = {} }
111 return fetchJson('/db/classroom', _.assign({}, options, {
112 method: 'POST',
113 json: classDetails
114 }))
115 },
116
117 fetchGameContent (classroomID, options) {
118 if (options == null) { options = {} }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected