Is there any reason to use post-redirect-get (prg) for the request, which, as you know, will happen only through the ajax request?
in this case, you may have a request that is sent (via ajax or direct), and we assume that in focus we can distinguish what is. In the case where a direct request is processed using prg, is there any reason to also process an ajax request using prg?
or maybe the answer to the ajax message directly?
source share