Yodlee公司REST API /身份验证/登录返回415错误 [英] Yodlee REST API /authenticate/login returns 415 error

查看:261
本文介绍了Yodlee公司REST API /身份验证/登录返回415错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Yodlee公司开发者帐户,并与提供的样品
我能够做一个coblogin ......但是如果我现在在做一个用户登录它
给出一个415错误。

I have created a Yodlee developer account and with the sample provided i am able to do a coblogin ... however if I now do a user login it gives a 415 error.

我引用这个信息:
<一href=\"https://developer.yodlee.com/Aggregation_API/Aggregation_Services_Guide/Aggregation_REST_API_Reference/login\" rel=\"nofollow\">https://developer.yodlee.com/Aggregation_API/Aggregation_Services_Guide/Aggregation_REST_API_Reference/login

这是其余的数据我发送到/认证/登录
我做一个POST,甚至在标题中发送的应用程序/ x-WWW的形式urlen codeD

This is the rest data i am sending to /authenticate/login I am doing a POST and even sent in the header the application/x-www-form-urlencoded


        (
            [cobSessionToken] => 08062013_0:70f264b74e053e595c3044e554aab5bda7c5d83be1a085f32dc1cd4c48b372dc2201a826f720d9821cf30d6966cc6eb05e7e02f83da19e60e38e21fbc9d59134
            [登录] => sbMemnathaniel.j1
            [密码] => sbMemnathaniel.j1#123
        )

Array ( [cobSessionToken] => 08062013_0:70f264b74e053e595c3044e554aab5bda7c5d83be1a085f32dc1cd4c48b372dc2201a826f720d9821cf30d6966cc6eb05e7e02f83da19e60e38e21fbc9d59134 [login] => sbMemnathaniel.j1 [password] => sbMemnathaniel.j1#123 )

此帐户的作品在试驾。

推荐答案

在很多比较codeS,我已经找到了罪魁祸首的415错误code。
有特殊字符是不可见的编辑器。
我得了,通过输出派人后到浏览器中的所有文本悄悄潜入我的网址的特殊字符。

After much comparing the codes, i've found the culprit to the 415 error code. There are special characters that are invisible to the editor. I've caught the special chars that crept into my uRl by outputting all text sent for post into the browser.

这些是不受欢迎的字符â€<

These were the unwelcome chars ​

所以我不得不削减code线并重新键入到编辑器来清理看不见的字符。

So i have to cut the line of code and retype into the editor to clean up the invisible chars.

这篇关于Yodlee公司REST API /身份验证/登录返回415错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆