in reply to Posting files to Amazon MWS using LWP

I've never used the MWS but after a quick skim of the dev guide I think your reading of the spec is incorrect(?). This snippet from their docs seems to line-up with the AWS/APA/BlahBlah.vπ interface neatly–

SignatureMethod—The HMAC hash algorithm you are using to calculate your signature, either HmacSHA256 or HmacSHA1

Good news is you should be able to pull some code from or reuse URI::Amazon::APA. Bad news, you need to read the spec again. Might ask around the forums if one of the CPAN modules (none of which seems to contain "MWS") works for this.

  • Comment on Re: Posting files to Amazon MWS using LWP

Replies are listed 'Best First'.
Re^2: Posting files to Amazon MWS using LWP
by rethaew (Sexton) on Nov 29, 2011 at 19:10 UTC
    Actually the MD5 hash is one part that is working here. I think the problem is in the LWP syntax with adding the parameters hash and the the file contents. Doesn't like both of those there. I just can seem to find any examples of how to add parameters and the file contents to a post.