Is there a way to get the DefaultModelBinder
to work when the data is POSTed using x-www-form-urlencoded
instead of application/json
, but the actual payload of the value is JSON encoded?
For example, I am being sent a single key-value-pair:
key: 'events'
value: '[{"event":"inbound","ts":1350928095,"msg":{"raw_msg":"Received"}}]'
where the value contains JSON array in this case.
NOTE: The POST is coming from a 3rd party so I cannot control it.