Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.1k views
in Technique[技术] by (71.8m points)

postman - 努力在邮递员中模拟Amazon MWS Scratchpad-问题是签署参数的字符串(Struggling to emulate Amazon MWS Scratchpad in Postman - Problem is string to sign parameters)

I am trying to emulate Amazon Scratchpad in Postman as scratchpad doesn't allow feeds to be uploaded to Amazon.

(我试图在Postman中模拟Amazon Scratchpad,因为暂存器不允许将提要上载到Amazon。)

Obviously, Scratchpad works fine.

(显然,Scratchpad工作正常。)

I have tried to mirror the values and parameters from Scratchpad to Postman and get the following results.

(我尝试将Scratchpad的值和参数镜像到Postman,并获得以下结果。)

404 Not Found

(找不到404)

It makes no sense to me.

(对我来说完全是无稽之谈。)

The Resource clearly resides on mws.amazonservices.co.uk as SP finds it.

(SP查找到该资源后,该资源显然位于mws.amazonservices.co.uk上。)

Why can't Postman?

(为什么邮递员不能?)

I think the answer lies in the API Section and Operation fields.

(我认为答案就在于API部分和操作字段。)

I've tried for a day but got nowhere.

(我已经尝试了一天,但无处可去。)

I got a 200 response on another query but I think it is open and doesn't need authentication.

(我在另一个查询中得到200响应,但我认为它是开放的,不需要身份验证。)

My AccessKey and SecretKey are fine but sometimes I get SignatureDoesNotMatch responses.

(我的AccessKey和SecretKey很好,但是有时我收到SignatureDoesNotMatch响应。)

The answer to this lies in my inability to understand the String to Sign coding and where to code that within Postman.

(答案是我无法理解“签名字符串”编码以及在Postman中的编码位置。)

Help would be much appreciated.

(帮助将不胜感激。)

It's been two days since I started this project.

(我开始这个项目已经两天了。)

It would be good if I could see the process Postman is going through when it polls Amazon's server.

(如果我能看到Postman在轮询亚马逊服务器时正在经历的过程,那将是很好的。)

Postman Body

(邮递员的身体)

Scratchpad Screenshot

(Scratchpad屏幕截图)

Attempt at using url with string to sign code copied from Scratchpad

(尝试使用带有字符串的url签名从Scratchpad复制的代码)

  ask by Rhothgar translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...