I am trying to override solrconfig.xml but I am having trouble understanding config API and curl. What is the easiest way to edit solrconfig.xml, directly or through an API?
I would recommend a simple text editor (e.g. vi on Linux/Mac, Notepad or Notepad++ on Windows).
Don't forget to restart Solr after the config change and to monitor the Solr log files to check for errors.