ConteMan
0.02D
V2EX  ›  问与答

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

  •  
  •   ConteMan · Apr 30, 2015 · 2752 views
    This topic created in 4229 days ago, the information mentioned may be changed or developed.

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

    2 replies  •  2015-04-30 17:45:04 +08:00
    xbonline
    xbonline
    Apr 30, 2015❤️1
    1
    参数urlencode下啦
    ConteMan
    ConteMan
    OP
    Apr 30, 2015
    2
    @xbonline 终于调好了 括号还不能编码才可以 o(╯□╰)o
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2277 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 10:56 · PVG 18:56 · LAX 02:56 · JFK 05:56
    ♥ Do have faith in what you're doing.