|
|
{{ t('Description') }} | {{ t('Last used') }} | {{ t('Show') }} |
|---|---|---|---|
| {{ apikey.id }} | {{ apikey.description }} | {{ apikey.last_use }} |
|
curl {{ t('example') }}:
curl -H \
"Authorization: X-OITC-API {{ ApikeyCreatePost.apikey }}" \
"https://{{ hostname }}/hosts/index.json?angular=true"
-k.
curl {{ t('example with JSON processor') }}:
curl -k -s -H \
"Authorization: X-OITC-API {{ ApikeyCreatePost.apikey }}" \
"https://{{ hostname }}/hosts/index.json?angular=true" |jq .
curl {{ t('example') }}:
curl -H \
"Authorization: X-OITC-API {{ ApiKeyEditPost.apikey }}" \
"https://{{ hostname }}/hosts/index.json?angular=true"
-k.
curl {{ t('example with JSON processor') }}:
curl -k -s -H \
"Authorization: X-OITC-API {{ ApiKeyEditPost.apikey }}" \
"https://{{ hostname }}/hosts/index.json?angular=true" |jq .