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

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

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

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

(cherry picked from commit c3e18f1e45506af2ed1a0087af6bcaec5b60fdf6)
(cherry picked from commit c38953f4d7c3bd409acbe44007b339218f13643e)


> 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