in reply to Re^3: Getting error while decoding JSON object via POST method
in thread Getting error while decoding JSON object via POST method

I must be missing something here. At my $work, we use CGI::Application on the front end and simply decode_json( $self->query->param( 'POSTDATA' ) ) to get the values regardless of HTTP 1.0 or HTTP 1.1 (which is what we use.) We POST with a content type of "application/json".

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.

Replies are listed 'Best First'.
Re^5: Getting error while decoding JSON object via POST method
by Corion (Patriarch) on May 19, 2014 at 19:27 UTC

    No, it was me who is missing that both, client and server are under the posters control.

    I was under the wrong impression that the server was an unknown third party server.