php-proxy icon indicating copy to clipboard operation
php-proxy copied to clipboard

Skip Ajax Requests

Open SalvoLunar opened this issue 3 years ago • 0 comments

Hi,

I use your proxy to parse a specific request and then add the X-Frame-Options header to the response page, which contains a form.

The problem I'm having is that when I try to submit tha form via Ajax to the same URL the proxy parses the request again removing the POST paramenters, or maybe it doesn't recognise that that's a ajax request at all. This causes loads to errors to appear in the console.

Is there a way to solve this problem?

Thanks, Salvo

SalvoLunar avatar Jun 13 '22 16:06 SalvoLunar