V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ConteMan
V2EX  ›  问与答

PHP CURL 请求这个地址总是报 400

  •  
  •   ConteMan · 2015-04-30 17:03:19 +08:00 · 2418 次点击
    这是一个创建于 3832 天前的主题,其中的信息可能已经有所发展或是发生改变。

    query.yahooapis.com/v1/public/yql?q=select * from yahoo.finance.xchange where pair in ("SGDCNY")&env=store://datatables.org/alltableswithkeys
    编码问题吗

    2 条回复    2015-04-30 17:45:04 +08:00
    xbonline
        1
    xbonline  
       2015-04-30 17:28:35 +08:00   ❤️ 1
    参数urlencode下啦
    ConteMan
        2
    ConteMan  
    OP
       2015-04-30 17:45:04 +08:00
    @xbonline 终于调好了 括号还不能编码才可以 o(╯□╰)o
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   839 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:49 · PVG 04:49 · LAX 13:49 · JFK 16:49
    ♥ Do have faith in what you're doing.