asp.net如何调用拍拍api,求思路及实现方法。  拍拍api代码我已下载 ,但我以前没做过,没一点头绪,现在需要实现的是当我们系统订单改为已发货, 拍拍上相应订单也变为发货。  
 求高手指点,感激不尽。

解决方案 »

  1.   

    •1.确定您使用的是http协议,且四个参数(spid,secretKey,uin或Q号,token)都已经放入Http header中,且拍拍端开通了相应商家spid和q号的权限。
    •2.skey 30分钟不操作,就会失效哦,要重新获取. 目前商家接入,建议使用spid+token+uin+secKey来做鉴权 。当前token是固定的。
    •3. c#中,Expect: 100-continue 会导致404错误。(request.ServicePoint.Expect100Continue = false; )
        POST /item/addItem.xhtml?charset=utf-8 HTTP/1.1
        Content-Type: application/x-www-form-urlencoded
        sign: a6eaa529f0ebf01c6f071de6c279233e
        Host: api.paipai.com
        Content-Length: 466
        Expect: 100-continue
        Connection: Keep-Alive
    去看看他们http://openapis.net/APIs.OpenAPI.ashx?NoRedirect=1
      

  2.   

    呵呵,我没做过,我现在只研究C/S模式的程序
    没研究过B/S的程序