Header of GetResponse API C# (MVC-5) 版本 3
Header of GetResponse API version-3 in C# (MVC-5)
当我收到错误时,我有点困惑:
Problem during authentication process, check headers!
Unable to authenticate user, incorrect token
请求肯定有问题header。
任何人都可以告诉我向 GetResponse
API 发送请求的正确方法吗?
我是这样使用的:
var request = new RestRequest("/campaigns", Method.GET);
request.AddHeader("X-Auth-Token", "api-key " + auth.myAuthorizationKey);
调试时 header 在请求中看起来像这样:
{X-Auth-Token=api-key d042eeae34ce076913681cc5c872741e2c5f88d2}
使用 APIKEY
代替 AuthorizationKey
当我收到错误时,我有点困惑:
Problem during authentication process, check headers!
Unable to authenticate user, incorrect token
请求肯定有问题header。
任何人都可以告诉我向 GetResponse
API 发送请求的正确方法吗?
我是这样使用的:
var request = new RestRequest("/campaigns", Method.GET);
request.AddHeader("X-Auth-Token", "api-key " + auth.myAuthorizationKey);
调试时 header 在请求中看起来像这样:
{X-Auth-Token=api-key d042eeae34ce076913681cc5c872741e2c5f88d2}
使用 APIKEY
代替 AuthorizationKey