zhangxiao
V2EX  ›  API

curl API的时候为啥总是400?

  •  
  •   zhangxiao ·
    x1a0 · Apr 10, 2013 · 4301 views
    This topic created in 4804 days ago, the information mentioned may be changed or developed.
    curl "http://www.v2ex.com/api/nodes/all.json" 总是400 bad request。浏览器里正常,登录,未登录都可以
    3 replies    1970-01-01 08:00:00 +08:00
    lookhi
        1
    lookhi  
       Apr 10, 2013   ❤️ 1
    agent加上?
    binux
        2
    binux  
       Apr 10, 2013   ❤️ 1
    zhangxiao
        3
    zhangxiao  
    OP
       Apr 10, 2013
    感谢楼上两位。。我也是懒了 - - 确实是agent的问题。谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1047 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    ♥ Do have faith in what you're doing.