hxlc0409
V2EX  ›  PHP

调用百度云接口遇到的问题

  •  
  •   hxlc0409 · Mar 17, 2017 · 3516 views
    This topic created in 3383 days ago, the information mentioned may be changed or developed.
    调用接口时 GET,PUT,DELETE 都可以使用唯独 POST 返回 500 错误。试过 Apache5.2 版本同样有这问题,但是服务器的是 5.4.3 版本找了很多资料都没得到解决方法。大家有什么建议吗?
    2 replies    2017-03-17 12:14:47 +08:00
    w516322644
        1
    w516322644  
       Mar 17, 2017
    如果他只让你用 get ,限制了 Post ,那你就只能用 get 啊。。 500 ,服务器内部错误?
    hxlc0409
        2
    hxlc0409  
    OP
       Mar 17, 2017
    @w516322644 但是我在服务器使用 phpStudy 时是可以用 POST 的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2584 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 09:37 · PVG 17:37 · LAX 02:37 · JFK 05:37
    ♥ Do have faith in what you're doing.