I'm converting a model from using LWP to Mojo::UserAgent. In LWP I was able 
to use a balanced array ref instead of a hash ref to submit repeated form 
fields to my Solr Server, but this does not work with Mojo::UserAgent which 
seems to only accept a hashref for the post body. 

The data looks like this.
    my $postquery = [
        'fq'   => '{!geofilt pt=40.76,-74.00 sfield=latlong d=60}',
        'fq'   => 'event_date:[NOW TO NOW+60DAY]',
        'q'    => '(*:*)',
        'rows' => 100,
        'wt'   => 'json'
    ];

The workaround would be to combine the fq fields.

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Reply via email to