我正在尝试使用 curl 命令在我们的 Crafter 交付节点之一中重新索引 solr
curl "http://{hostname}:{port}/api/1/target/deploy/{environment}/{siteName}" -X POST -H "Content-Type: text/json" -d '{ "reprocess_all_files “: 真的 }'
并根据我们的配置更改 curl 命令 URL,但我收到错误 "{"message":"Content type 'text/json;charset=UTF-8' not supported"}"
任何建议将不胜感激。