[ 
https://issues.apache.org/jira/browse/SOLR-18460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18121629#comment-18121629
 ] 

ASF subversion and git services commented on SOLR-18460:
--------------------------------------------------------

Commit c3e18f1e45506af2ed1a0087af6bcaec5b60fdf6 in solr's branch 
refs/heads/main from Serhiy Bzhezytskyy
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=c3e18f1e455 ]

SOLR-18460: Ensure all curl commands follow the same pattern (#4925)

> Ensure all curl commands follow the same pattern
> ------------------------------------------------
>
>                 Key: SOLR-18460
>                 URL: https://issues.apache.org/jira/browse/SOLR-18460
>             Project: Solr
>          Issue Type: Sub-task
>          Components: documentation
>            Reporter: Eric Pugh
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> We have a number of ways of describing a curl command.  In 
> [https://github.com/apache/solr/pull/4177] I noticed that our curl pattenrs 
> just in the indexing pages are all over the place.
> We want our curl examples use this order:
>  
>   curl 'URL' \
>     -H 'Content-Type: application/json' \
>     -H 'Other-Header: value' \
>     -d 'request body'
>  
>   For updates:
>   1. curl
>   2. URL, including query parameters
>   3. Request headers
>   4. -d or --data-binary request body
>  
>   Because -d implies POST, we omit -X POST.
>  
> And no "$" attempting to simulate a terminal!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to