Makyō
Makyō
CC#
Created by Makyō on 1/13/2023 in #help
ASP.NET Core | Issue with in-memory data removal
Hey there, I am currently trying to make a backend service for my chess game made in Next.js as an internship project. I am most likely struggling with some basic concept I can't dig up any info about. Regarding the main issue, I have made a controller that handles: A) GET request which returns the current chessboard state B) POST request which returns the default chessboard state C) POST request which returns the chessboard state after the piece moved D) DELETE request which returns the chessboard state after removing piece The problem occurs when I am trying to delete any piece using request D. The response that's being returned is correct, but right after when I try to fetch the chessboard with request A the seemingly deleted data is still present there.
23 replies