IzzyCooper
IzzyCooper

Reputation: 596

How to get POST data in ColdFusion

How do you get values from a POST request in ColdFusion?

Figured the hard way that POST.id doesn't work like URL.id.

Upvotes: 19

Views: 23825

Answers (2)

Ben Doom
Ben Doom

Reputation: 7885

You want FORM, not POST. eg form.id or form['id']

Upvotes: 12

Leigh
Leigh

Reputation: 28873

Post values are passed in the FORM scope ie FORM.id

Upvotes: 35

Related Questions