zhangxiao
V2EX  ›  API

curl API的时候为啥总是400?

  •  
  •   zhangxiao ·
    x1a0 · Apr 10, 2013 · 4625 views
    This topic created in 4975 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
    lookhi
    Apr 10, 2013❤️1
    1
    agent加上?
    binux
    binux
    Apr 10, 2013❤️1
    2
    zhangxiao
    zhangxiao
    OP
    Apr 10, 2013
    3
    感谢楼上两位。。我也是懒了 - - 确实是agent的问题。谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2562 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:08 · PVG 20:08 · LAX 04:08 · JFK 07:08
    ♥ Do have faith in what you're doing.