Does `GitHub Pages` allow HTTP “Post” method?

前端 未结 1 1702
谎友^
谎友^ 2021-02-14 15:38

I\'ve programmed a little php Script, which just uploads a file from a user to the server.
I\'ve tested in on my XAMMP Server locally, and everyth

1条回答
  •  感情败类
    2021-02-14 16:18

    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.

    0 讨论(0)
提交回复
热议问题