Group
Extension

Matches 2

HTTP-Message ( O/OA/OALDERS/HTTP-Message-7.01.tar.gz, OALDERS, 2025; MetaCPAN )
HTTP-Message/lib/HTTP/Message.pm ( view source; MetaCPAN )
;
	return $encoding->mime_name if $encoding;
    }
    elsif ($self->content_type eq "application/json") {
	for ($$cref) {
	    # RFC 4627, ch 3
	    return "UTF-32BE" if /^\x00\x00\x00./s;
	    retur
pull/99>
attempt to decode declared character sets for any other content types like
C<application/json> or C<application/javascript>.  If the C<Content-Encoding>
or C<charset> of the message is unknow
HTTP-Message ( O/OA/OALDERS/HTTP-Message-7.01.tar.gz, OALDERS, 2025; MetaCPAN )
HTTP-Message/lib/HTTP/Request.pm ( view source; MetaCPAN )
hat could be used to send JSON data
to an endpoint.

    #!/usr/bin/env perl

    use strict;
    use warnings;

    use HTTP::Request ();
    use JSON::MaybeXS qw(encode_json);

    my $url = 'https:
    my $header = ['Content-Type' => 'application/json; charset=UTF-8'];
    my $data = {foo => 'bar', baz => 'quux'};
    my $encoded_data = encode_json($data);

    my $r = HTTP::Request->new('POST',
sr/bin/env perl

    use strict;
    use warnings;

    use HTTP::Request ();
    use JSON::MaybeXS qw(encode_json);

    my $auth_token = 'auth_token';
    my $batch_url = 'https://www.googleapis.com

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.