I have implemented an Ajax request on my website, and I am calling the endpoint from a webpage. It always returns 200 OK, but jQuery execut
I have faced this issue with an updated jQuery library. If the service method is not returning anything it means that the return type is void.
void
Then in your Ajax call please mention dataType='text'.
dataType='text'
It will resolve the problem.