首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
V2EX
›
程序员
一个 yahoo pipes 使用 web services 模块的例子运行失败 , 球分析
reloop
·
2013-11-05 17:29:03 +08:00
· 2643 次点击
这是一个创建于 4122 天前的主题,其中的信息可能已经有所发展或是发生改变。
PHP 源文件是:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
<?php
$json = json_decode($_POST['data']);
for($i=0;$i<sizeof($json->items);$i++)
$json->items[$i]->description = strtoupper($json->items[$i]->description);
header('Content-Type: application/json');
print json_encode($json);
?>
view raw
pipes
hosted with ❤ by
GitHub
参考:
http://www.echoditto.com/blog/yahoo-pipes-web-service-module-and-php
托管在百度云:
http://www.wodetou.com/sand/pipe.php
pipes:
http://pipes.yahoo.com/pipes/pipe.edit?_id=98f10d94812bba5cbd80b86bced975b7
不知道是什么原因
Response: OK (200). Error: Error Retrieving Data from External Service
PS1: 怎么确定脚本是不是能接收到 POST 过来的数据?
PS2: 有没有 web services 模块运行成功的例子可供参考? 带脚本代码的
Web
SERVICES
Pipes
3 条回复
•
1970-01-01 08:00:00 +08:00
1
reloop
OP
2013-11-06 07:57:40 +08:00
球关注~~
2
dlitchi
2013-11-06 09:38:14 +08:00
1
利用抓包工具查看,wireshark或者fiddler都可以。
3
reloop
OP
2013-11-06 10:04:57 +08:00
@
dlitchi
非常感谢! 我试试!!
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
实用小工具
·
5749 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms ·
UTC 01:36
·
PVG 09:36
·
LAX 17:36
·
JFK 20:36
Developed with
CodeLauncher
♥ Do have faith in what you're doing.