epugh commented on code in PR #4942:
URL: https://github.com/apache/solr/pull/4942#discussion_r4100924652
##########
solr/solr-ref-guide/modules/indexing-guide/pages/schema-api.adoc:
##########
@@ -523,11 +524,13 @@ V2 API::
====
[source,bash]
----
-curl -X POST -H 'Content-type:application/json' --data-binary '{
- "add-copy-field":{
- "source":"shelf",
- "dest":[ "location", "catchall" ]}
-}' http://localhost:8983/api/collections/techproducts/schema
+curl -X POST -H 'Content-type:application/json' --data-binary '[
Review Comment:
in anohter PR, I think we are prposing that we don't need -X POST IF you are
doing a data binary... Also, `-d`,
```suggestion
curl -H 'Content-type:application/json' -d '[
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]