尝试使用Yodlee进行SiteTraversal

时间:2013-12-09 19:53:33

标签: rest yodlee

我正在按照快速入门指南操作,我可以同时获得Cobrand和User令牌,但是当我尝试向POST发出https://rest.developer.yodlee.com/services/srest/restserver/v1.0/jsonsdk/SiteTraversal/searchSite请求时,我收到的404 doc未找到。我可以使用wget下载/authenticate/login的文件,如下所示,但wget收到404。

zachallett@ ~/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.


zachallett@ ~/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]

1 个答案:

答案 0 :(得分:0)

我尝试过从外部REST客户端使用它,它可以工作。

这是请求

POST /services/srest/restserver/v1.0/jsonsdk/SiteTraversal/searchSite HTTP / 1.1 主持人:rest.developer.yodlee.com 缓存控制:无缓存 内容类型:application / x-www-form-urlencoded

cobSessionToken = xxxxxxxxxxxxxxxxxxxxxxxx&安培; userSessionToken = xxxxxxxxxxxxxxxxxxxxxxx&安培; siteSearchString = DAG