doc/rest-api: use https urls in examples

This commit is contained in:
Thomas Gelf 2016-05-02 10:43:41 +02:00
parent cfaa546c50
commit b155082454
1 changed files with 2 additions and 2 deletions

View File

@ -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"