diff --git a/README.md b/README.md index 5f25591438bb44075939934c3ba395c6320b8a30..d9c16d0464c210284dfb91885fad1d26e10f8c71 100644 --- a/README.md +++ b/README.md @@ -24,3 +24,11 @@ Lähetä kotitehtävä meille esim. linkkinä GitHub-repositorioon tai liitetied Versionhallinnan tai liitetiedoston tulee sisältää kaikki sellaiset tiedostot ja ohjeet, jotka vaaditaan sovelluksen kääntämiseen ja käynnistämiseen. Kiinnitä huomiota erityisesti toteutuksen selkeyteen ja johdonmukaisuuteen. ## Backendin rajapinnat + +### Get: '/score/get' + +Gives the necessary score information for the frontend page + +### Post: '/button/push' + +Pushes the button on the backend. Username can be sent on the body of post request. \ No newline at end of file