Thanks hipo,haj for your comments !
both code fragments are just fragments. The use commands I have at the beginning. Also the # sign was comming from trying different things out.
"does not work" is indeed not specific! Sorry for that ! The issue is that the python version works fine. The server gives back the requested data. In the perl version the server response with an Error 500 Internal Server Error. That mens that something must be different in the two sended POSTs.
When the line #$request->content($json_data) is commented out, than the server response an error 411 Length Required
What would also help: Can I log what was exactly sent in both cases, to be able to compare all sent data ?
In reply to Re: LWP: transfer from Python to Perl
by Anonymous Monk
in thread LWP: transfer from Python to Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |