doc/rest-api: use https urls in examples
This commit is contained in:
parent
cfaa546c50
commit
b155082454
|
@ -79,12 +79,12 @@ PASSWORD="***"
|
|||
test -z "$PASSWORD" || USERNAME="$USERNAME:$PASSWORD"
|
||||
|
||||
test -z "$BODY" && curl -u "$USERNAME" \
|
||||
-i http://icingaweb/icingaweb/$URL \
|
||||
-i https://icingaweb/icingaweb/$URL \
|
||||
-H 'Accept: application/json' \
|
||||
-X $METHOD
|
||||
|
||||
test -z "$BODY" || curl -u "$USERNAME" \
|
||||
-i http://icingaweb/icingaweb/$URL \
|
||||
-i https://icingaweb/icingaweb/$URL \
|
||||
-H 'Accept: application/json' \
|
||||
-X $METHOD \
|
||||
-d "$BODY"
|
||||
|
|
Loading…
Reference in New Issue