Closed David-Rushton closed 4 years ago
Azure Static Web Apps: Your stage site is ready! Visit it here: https://witty-bay-0219c9d03-78.westeurope.azurestaticapps.net
Azure Static Web Apps: Your stage site is ready! Visit it here: https://witty-bay-0219c9d03-78.westeurope.azurestaticapps.net
Azure Static Web Apps: Your stage site is ready! Visit it here: https://witty-bay-0219c9d03-78.westeurope.azurestaticapps.net
Azure Static Web Apps: Your stage site is ready! Visit it here: https://witty-bay-0219c9d03-78.westeurope.azurestaticapps.net
Azure Static Web Apps: Your stage site is ready! Visit it here: https://witty-bay-0219c9d03-78.westeurope.azurestaticapps.net
Azure Static Web Apps: Your stage site is ready! Visit it here: https://witty-bay-0219c9d03-78.westeurope.azurestaticapps.net
Every page imprint results in two calls to the blogdb. Get upvotes and get comments. Both retrieve the full article document. This is unnecessary and a waste of request units.
This PR adds a new API GET article and remove the GET method from the existing two.
Each article page will be updated to make one call to the GET article API, on page load. POST upvotes and comments will be called on demand.
Fixes #77