token_example.html 426 B

123456789
  1. {% extends 'ui/panels/_base.html' %}
  2. {% block panel_content %}
  3. <div id="token-example" class="card-body font-monospace">curl -X GET \<br />
  4. -H "Authorization: {{ object.get_auth_header_prefix }}<mark>&lt;TOKEN&gt;</mark>" \<br />
  5. -H "Content-Type: application/json" \<br />
  6. -H "Accept: application/json; indent=4" \<br />
  7. {{ request.scheme }}://{{ request.get_host }}{% url "api-status" %}</div>
  8. {% endblock panel_content %}