Re: ERROR on posting update request using CURL in php

2011-06-09 Thread Naveen
Hi, Basically i need to post something like this using curl in php The example of php explained in earlier thread, curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary 'testdoc' Should we need to create a temp file and using put command can we do it u

Re: ERROR on posting update request using CURL in php

2011-06-09 Thread Naveen Gupta
Hi, curl http://localhost:8983/solr/update?commit=true -H "Content-Type: text/xml" --data-binary 'testdoc' Regards Naveen On Fri, Jun 10, 2011 at 10:18 AM, Naveen Gupta wrote: > Hi > > This is my document > > in php > > $xmldoc = 'F_146 name="userid">74gmail.com name="attachment_size">121 nam