HTTP POST of json - problem

Paul Webster <Paul.Webster.a1op5b-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
I am trying to post some json and have been trying to use
HTTP::Request::Common

However, I think I have worked out that my problem is that the content
is not being sent raw - instead it is being URL encoded.
This is because HTTP::Request::Common expects the content to be a form
of some type.

https://github.com/Logitech/slimserver/blob/359cd3a1d08a1fa86c954d1f6ac412714783522f/CPAN/HTTP/Request/Common.pm#L87

Does anyone have a pointer to some code that already does this (POST raw
content) using Perl modules that ship with LMS?



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla
finland, abc australia, cbc/radio-canada and rte ireland
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=114581
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.