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 '<add><doc><field
name="id">testdoc</field></doc></add>'

Should we need to create a temp file and using put command 


can we do it using post 

Regards
Naveen 



--
View this message in context: 
http://lucene.472066.n3.nabble.com/ERROR-on-posting-update-request-using-CURL-in-php-tp3047312p3047372.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to