I forgot to mention that; it's commented out because the service I'm attempting to access refuses POST requests. I've been informed that this is a sort of low-hanging fruit security measure to prevent mutating methods.
On Wednesday, January 21, 2015 at 1:17:07 PM UTC-5, Clinton Gormley wrote: > > Hi Andrew > > The code looks correct. You have send_get_body_as POST commented out - > I'm guessing that is the problem. Probably the service you're using does > not allow GET requests with bodies. > > I'd uncomment that and try again. > > Ping me on https://github.com/elasticsearch/elasticsearch-perl/issues if > you still can't get it working > > clint > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7c649cb3-f934-4f74-bc74-bf5eedf22bb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.