php

Website URL

https://internetseguriti.fwh.is/

Error Message

https://internetseguriti.fwh.is/server/post-test.php

Other Information

Hello,

I have a PHP/MySQL website hosted on InfinityFree at:

https://internetseguriti.fwh.is/

I have confirmed that PHP works correctly:

GET:
https://internetseguriti.fwh.is/server/post-test.php

returns the PHP response normally.

However, a POST request to the same PHP file is intercepted by the server/security layer.

I tested with PowerShell:

Invoke-WebRequest -Uri “https://internetseguriti.fwh.is/server/post-test.php” -Method POST -ContentType “application/json” -Body ‘{“test”:true}’

The response is:

HTTP/1.1 200 OK

but:

Content-Type: text/html
Server: openresty
Response body is an HTML security page containing /aes.js

The PHP script itself is not receiving the POST.

The same problem affects my application endpoint:

POST /server/api.php?action=visit

which originally returned:

501 Unsupported method (‘POST’)

The application uses POST because the endpoint writes visit data to MySQL.

Could you please check why the security/proxy layer for my domain is intercepting POST requests before they reach PHP, and whether POST requests to PHP/API endpoints are allowed on my hosting account?

I have confirmed that GET requests to PHP work and that MySQL/PHP connectivity works.

Thank you.

Because that is what it is supposed to do