Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
When I post the same json test to my test url using a perl client and print it back using Data::Dumper, I get the response $VAR1 = '{"imei":13226004711772,"id":20}'; which is fine. However, if I post it using our embedded C commands in our unit, I receive ... $VAR1 = undefined. ...not much help there. I have posted it to another website based on PHP and the data shows up there. I get the response (POST: ) (BODY: {"par":12345678912345,"id":20 }) which I expect. so I know it is being posted OK. It looks at the moment as it our unit is coding it in a format that this line.. my $data = $q->param('POSTDATA'); is having a problem with. In reply to Re^14: json return value
by stenasc
|
|