MCPcopy
hub / github.com/Unleash/unleash / post

Method post

src/lib/routes/controller.ts:145–158  ·  view source on GitHub ↗
(
        path: string,
        handler: IRequestHandler,
        permission: Permission = NONE,
        ...acceptedContentTypes: string[]
    )

Source from the content-addressed store, hash-verified

143 }
144
145 post(
146 path: string,
147 handler: IRequestHandler,
148 permission: Permission = NONE,
149 ...acceptedContentTypes: string[]
150 ): void {
151 this.route({
152 method: 'post',
153 path,
154 handler,
155 permission,
156 acceptedContentTypes,
157 });
158 }
159
160 put(
161 path: string,

Callers 15

demoAuthenticationFunction · 0.80
logout.test.tsFile · 0.80
fileuploadMethod · 0.80
strategy.test.tsFile · 0.80
metrics.test.tsFile · 0.80
user.test.tsFile · 0.80

Calls 1

routeMethod · 0.95

Tested by 15

createProjectsFunction · 0.64
createFeatureToggleFunction · 0.64
addSegmentsToStrategyFunction · 0.64
validateSegmentFunction · 0.64
sendMetricsFunction · 0.64
completeFeatureFunction · 0.64
uncompleteFeatureFunction · 0.64
createContextFunction · 0.64
unArchiveFeatureFunction · 0.64
validateImportFunction · 0.64
validateImportFunction · 0.64