Logo
Routes
Overview

Routes

HTML and API endpoints exposed by Snare.

1 min read
Routes API HTML

HTML Endpoints

  • GET /auth/login
  • GET /auth/register
  • GET /auth/logout (protected)

API Endpoints

  • POST /api/auth/login
  • POST /api/auth/register
  • GET /api/auth/logout
  • GET /api/auth/state (protected)

Asset Path

Snare also serves static assets under:

  • GET /snare/*

Protection Model

  • /auth/logout requires authenticated session
  • /api/auth/state is inside a protected API group