MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / post

Method post

packages/xadmin/src/api.js:41–45  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

39 }
40
41 post(data) {
42 return this.fetch(null, { method: 'POST', body: JSON.stringify(data) }).then((item) => {
43 return { ...data, ...item }
44 })
45 }
46
47 save(data) {
48 if (data.id) {

Callers 1

saveMethod · 0.95

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected