Php – How to enable HTTP POST requests in IIS7

httpiisiis-7PHP

I'm totally new to IIS7. I get a 400 error when doing any POST request. However GET requests work fine. I'm using PHP for processing but i assume that IIS is missing some configuration to allow POST

Best Answer

By default IIS and PHP accept POST requests correctly, I'm assuming that your "POST" request is malformed in some way, meaning it isn't really running as an actual POST request. Check out this KB Article on IIS 400 error.

Can you write the code here or your request you are running, so we can see more and may be better able to help.