Skip to content

Commit acaf319

Browse files
committed
add x-www-form body parser
1 parent 771f5c4 commit acaf319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/commands/start.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default ({ createContext, annotations: { getMetadata, constants, getFunct
2727
const startLocal = async (context) => {
2828
let app = express()
2929
app.use(bodyParser.json({ limit: '10mb' }))
30-
30+
app.use(bodyParser.urlencoded({ extended: true })); // support encoded bodies
3131
console.log("")
3232
for (let serviceDefinition of context.publishedFunctions) {
3333
let httpMetadata = getMetadata(rest.environmentKey, serviceDefinition.service) || []

0 commit comments

Comments
 (0)