Open dguglielmi-git opened 1 year ago
We need to modify the responses from the endpoints, instead of sending the JSON with the data that is not used, we will reply only with HTTP Code. Also, the validation of the existence of a resource will be done inside the endpoint to speed up the response. Replying with a status code instead of the JSON will speed up the process since we will not be sending any data throughout the network.
Endpoints required:
Routes taken from Strapi:
Model: