Skip to content

Commit 0146974

Browse files
committed
handle content-type: application/x-www-form-urlencoded
1 parent 1d952d8 commit 0146974

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/lib/api.cfc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,10 @@ component {
418418
arguments.req["content"] = deserializeJSON(arguments.req.content_string);
419419
return [];
420420
break;
421+
case "application/x-www-form-urlencoded":
422+
arguments.req["content"] = arguments.req.form;
423+
return [];
424+
break;
421425
default:
422426
if (len(arguments.req.content_string)) {
423427
return [{"code"="004"}];

0 commit comments

Comments
 (0)