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

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

Commit e2cdb2d7e8ae0be4cf6cf0606206c67d89e7278f in solr's branch 
refs/heads/jira/SOLR-17697-picocli from Serhiy Bzhezytskyy
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e2cdb2d7e8a ]

SOLR-18460: Drop the redundant -X GET from curl commands in the Ref Guide 
(#5007)

Co-authored-by: Eric Pugh <[email protected]>

> 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
>             Fix For: 10.1
>
>          Time Spent: 50m
>  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