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

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

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

    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下啦
    Conte
        2
    Conte  
    OP
       2015-04-30 17:45:04 +08:00
    @xbonline 终于调好了 括号还不能编码才可以 o(╯□╰)o
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5831 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 06:18 · PVG 14:18 · LAX 23:18 · JFK 02:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.