taobao API——解决Invalid Signature
摘要:下了一个API测试工具:http://open.taobao.com/bbs/read.php?tid=17018&page=1&toread=1比对了一下生成的参数,发现应该在参数数组里加上'sign_method' = 'md5',测试,一切正常,欧耶
阅读全文
posted @
2011-02-06 00:01
KLEZ
阅读(1924)
推荐(0)
taobao API——html转义字符问题
摘要:访问组装好的url时一直出现Invalid Timestamp错误码一览表:http://open.taobao.com/dev/index.php/%E9%94%99%E8%AF%AF%E7%A0%81%E4%B8%80%E8%A7%88%E8%A1%A8原来是这里有问题:×组装后变成"x"了google一下,需要用html的转义字符来解决:&改为&html转义字符一览表:http://huibin.javaeye.com/blog/707730地址栏粘贴!访问!!Invalid Signature。。。明天研究签名算法,先把链接贴上:http://open.taobao.
阅读全文
posted @
2011-02-04 00:37
KLEZ
阅读(442)
推荐(0)
taobao API初上手
摘要:看到taobao API挺有意思的,顺便学习PHPhttp://open.taobao.com/看了下API的调用方式,就是拼装url然后发送http请求,与服务器进行交互具体原理看这里:http://open.taobao.com/dev/index.php/快速上手指南看看官方demo,分使用与不使用SDK两种,本人不喜欢SDK,看不到后台实现的机制看一下PHP不使用SDK的代码:http://open.taobao.com/dev/index.php/Php%E8%B0%83%E7%94%A8%E7%A4%BA%E4%BE%8B%E4%BB%A3%E7%A0%81Util.php里面有两
阅读全文
posted @
2011-02-03 12:14
KLEZ
阅读(675)
推荐(0)