[Mojolicious] Re: Mojo::UserAgent submitting repeating fields

2014-11-14 Thread sri

>
> 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. 
>

http://mojolicio.us/perldoc/Mojo/UserAgent/Transactor#tx

--
sebastian 

-- 
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 mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.


[Mojolicious] Re: Mojo::UserAgent submitting repeating fields

2014-11-14 Thread John Karr
Thanks Sebastian, 

I re-read the manpage you indicated yet another time and finally saw the 
answer. The modified example below works.

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

-- 
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 mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.