On Tue, Nov 05, 2024 at 09:44:41PM +0000, Dmitri Maziuk wrote: > anyone knows if > ``` > curl -X POST -H 'Content-type:application/octet-stream" \ > --data-binary @solrconfig.xml > "http://solrnode:8983/solr/admin/configs?action=UPLOAD&name=myindex&filePath=solrconfig.xml&overwrite=true" > ``` > is supposed to work in 8.11? > > I am getting a 500 from `org.noggit.JSONParser$ParseException: JSON > Parse Error` which is sort of understandable as none of that is JSON... > but what does JSON parser have to do with anything?
Stupid question: do you need to change the Content-type to 'application/xml' since it appears that that is what you are sending? -- Mark H. Wood Lead Technology Analyst University Library Indiana University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 library.indianapolis.iu.edu
signature.asc
Description: PGP signature