Consult the service documentation for details."Ĭode: String = 'POST' LF '' LF /Orders/'. Check your AWS Secret Access Key and signing method. When I post (without the Content-MD5 in the header), I receive: "The request signature we calculated does not match the signature you provided. But I'm not sure how to calcuate the value for "Content-MD5" in the header. I believe the latter is the Signature value from my original post. It also provides the "Post Data" along with two other values: "SHA 256 HMAC" and "Base64 HMAC". The MWS scratchpad gives me a "string to sign" which I can match. In looking at http_debug.txt, i can see that I do not have "Content-MD5" and "Content-type" are not present. My problem is understanding the "Signature" and the "Content-MD5" header. Scott - you showed me before how to add headers using HTTPAPI - so I think I can do that. Did you add code for that, Ted? Or did Amazon accept the request without it?I'm still struggling to understand these web services, the MD5 hash etc. Pm.environment.HTTPAPI does not automatically set the content-md5 header. Var hash = CryptoJS.HmacSHA256(post, "YOUR SECRET KEY") Var post = "POST\\n/\nAWSAccessKeyId=YOURACCESSKEY
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |