1 commento (1 commento)0 reazioni (0 reazioni)1 assegnatario (1 assegnatario)JavaScript6 fork (6 fork)auto 404
backendgood first issue
Metriche repository
- Star
- 1 stella (1 stella)
- Metriche merge PR
- Metriche PR in attesa (Metriche PR in attesa)
Descrizione
Tasks
- Create a route (ex "/api/<student_id>") that will return the classes for the corresponding student id in JSON
- If the user is not authenticated as the user that we are looking up return a 401 (unauthorized) status code instead
- If the id does not exist, send a 404 (not found) response
Guida contributor
- Direzione di ricerca
- Implementa il gestore della rotta /api/:student id, controlla l'autenticazione per restituire 401 se non autorizzato e 404 se lo studente non viene trovato.
- Tech stack
- javascript
- Dominio
- backend
- Tipo issue
- Funzionalità
- Prerequisiti
- JavaScriptNode.js