since the content-type is urlencoded i'm assuming you have to encode %data for it to work.

here's a lil snippet i wrote:

alias x-www-form-urlencode {
if ($isid) {
var %d = 1,%e
while (%d <= $len($1-)) {
var %t = $mid($1-,%d,1)
if (%t !isalnum) && ($asc(%t) != 32) %e = $+(%e,%,$base($asc(%t),10,16))
else %e = %e $+ $iif($asc(%t) isnum 32,+,%t)
inc %d
}
return %e
}
}