ThrowUserError('json_rpc_invalid_params', { err_msg => $@ });
}
}
+
+ # Allow parameters in the query string if request was not GET.
+ # Note: query string parameters will override any matching params
+ # also specified in the request body.
+ foreach my $param ($self->cgi->url_param()) {
+ $extra_params->{$param} = $self->cgi->url_param($param);
+ }
+
%{$params} = (%{$params}, %{$extra_params}) if %{$extra_params};
}
"Accept" can be either that, or "application/javascript" for JSONP - add a "callback"
parameter to name your callback.
+Parameters may also be passed in as part of the query string for non-GET requests
+and will override any matching parameters in the request body.
+
=head1 AUTHENTICATION
Along with viewing data as an anonymous user, you may also see private information