MCPcopy
hub / github.com/diegohaz/rest / apiWithOnlyPostUserMethod

Function apiWithOnlyPostUserMethod

test/index.js:124–129  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

122}
123
124function apiWithOnlyPostUserMethod(dir) {
125 return api({
126 kebab: 'only-post-user',
127 userMethods: ['POST']
128 }, dir);
129}
130
131function apiWithoutModel(dir) {
132 return api({

Callers 1

installFunction · 0.85

Calls 1

apiFunction · 0.85

Tested by

no test coverage detected