Tutorial — Frontend + Backend — Step 8 of 9
Connect to Backend
Verify consent records are saved and visible in the admin dashboard.
Submit consent from the banner, then confirm it was persisted server-side two ways:
1. In the dashboard — open the Consents section at http://localhost:3001/consenti/. The new record appears immediately, with the full per-visitor history.
2. Over the API — grab visitorId from the consentSubmitted event and query it directly:
bash
curl http://localhost:3001/consenti/api/v1/consent/<visitorId>💡Nothing showing up? Double-check
api.baseUrl matches where the backend is actually mounted, and that CORS allows your frontend origin — see API Advanced Configuration.