2013-12-09 90 views
0

我按照快速入門指南,我可以同時獲得Cobrand和用戶令牌,但是當我嘗試向https://rest.developer.yodlee.com/services/srest/restserver/v1.0/jsonsdk/SiteTraversal/searchSite發出POST請求時,我收到404找不到的文檔。我能夠使用wget下載的文件爲/authenticate/login,如下圖所示,但wget收到404嘗試使用Yodlee做SiteTraversal

[email protected] ~/code/yodlee/sampleapp 
$ wget https://rest.developer.yodlee.com/services/srest/restserver/v1.0/jsonsdk/SiteTraversal/searchSite 
--2013-12-09 14:48:02-- https://rest.developer.yodlee.com/services/srest/restserver/v1.0/jsonsdk/SiteTraversal/searchSite 
Resolving rest.developer.yodlee.com... 216.35.6.163 
Connecting to rest.developer.yodlee.com|216.35.6.163|:443... connected. 
HTTP request sent, awaiting response... 404 Not Found 
2013-12-09 14:48:03 ERROR 404: Not Found. 


[email protected] ~/code/yodlee/sampleapp 
$ wget https://rest.developer.yodlee.com/services/srest/restserver/v1.0/authenticate/login 
--2013-12-09 14:48:16-- https://rest.developer.yodlee.com/services/srest/restserver/v1.0/authenticate/login 
Resolving rest.developer.yodlee.com... 216.35.6.163 
Connecting to rest.developer.yodlee.com|216.35.6.163|:443... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: unspecified [application/json] 
Saving to: ‘login’ 
[ <=>    ] 16   --.-K/s in 0s 

2013-12-09 14:48:16 (1.53 MB/s) - ‘login’ saved [16] 

回答

0

我一直在使用這種從外部REST客戶端試圖和它的作品。

這裏是請求

POST /services/srest/restserver/v1.0/jsonsdk/SiteTraversal/searchSite HTTP/1.1 主機:rest.developer.yodlee.com 緩存控制:無緩存 內容類型:應用/ X WWW的窗體-urlencoded

cobSessionToken = xxxxxxxxxxxxxxxxxxxxxxxx & userSessionToken = xxxxxxxxxxxxxxxxxxxxxxx & siteSearchString = DAG