Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rydde i database metoder #167

Open
perzonas opened this issue Aug 27, 2024 · 0 comments
Open

Rydde i database metoder #167

perzonas opened this issue Aug 27, 2024 · 0 comments
Labels

Comments

@perzonas
Copy link
Collaborator

Metodene og endepunktene vi bruker for databasehåndtering er ikke så veldig rett fram som de kunne vårt. Noen eksempler:

  • Metoden vi bruker for å oppdatere/opprette en ny kommentar i kommentartabellen heter “getCommentFromDatabase”, som i seg selv tilsier at man returnerer en eksisterende kommentar, ikke endrer på databasen.
  • POST kallet for å opprette en ny kommentar bruker /comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant