Middleware applicator
Last updated
Last updated
[sdks/expressjs/Middleware applicator]
Applies a known middleware to the specified express app. Accepted middleware identifiers:
"json"
"urlencoded"
"cors"
Keywords: api, express, middleware, apply, set
app ID: string
Identifies the Express app to apply the middleware on.
middleware: ("text" or "json" or "urlencoded" or "cors")
done: any
app ID: string
error: {"error": string}
Sends error information in case the middleware could not be applied.