GitHub pages can only serve static content, and there is no way to run PHP on GitHub pages or upload things. That's why GitHub doesn't allow POST requests.
If you need server side scripting (E.g. PHP), you'll need to use a web host which offers these things.