{% extends "layout.html" %} {% block title %}Home - KCAP Demo Server{% endblock %} {% block content %}

KCAP Demo Server

A simple Flask API for demonstrating AR content retrieval for barcode scanning applications.


This server simulates the Knox Capture API for AR overlays and includes endpoints for managing product attributes.

API Endpoints

  • Login: GET /login

    Simulates a simple login with a 200 response (no authentication required).

  • Content Fields: GET /arcontentfields

    Returns a list of available attributes (e.g., item ID, price, image URI).

  • AR Info: GET /arinfo?barcode=123456

    Returns product details for a given barcode, including image URLs.

  • Static Image Server: GET /images/123456.png

    Serves image files from the static/images/ directory.

{% endblock %}