how would you create a json endpoints?
Anonimo
I answer with spring mvc with restcontroller annotation. I suggested to use post put, get and delete. Interviewer said it is still ok to use get with arguments as posting form data. I was strongly disagree with that idea and said post has request body and it has security concerns if sending form data over as Get. I also said it is correct, Get with path variable and parameters can send data but it is for routing. I did not Google the answer after.