Hello,
I’m trying to interface the Amazon MWS API and I’m currently stuck at actually sending the request. Has anyone gotten a POST request to work?
|
Local send:=New HttpRequest
send.SetHeader("POST","/Feeds/2009-01-01 HTTP/1.1")
send.SetHeader("Content-Type:", "x-www-form-urlencoded")
send.SetHeader("Host:","mws.amazonservices.com")
send.SetHeader("User-Agent:",Self._userAgent)
send.Timeout=10
send.Send( calculateStringToSignV2(parameters))
Print send.ResponseText
Print send.Status
|
First I guess we need to determine whether or not I’m even approaching this right (I’m not sure that I’m using SetHeader correctly for example). Response text is always just blank, and Status is always -1. Is there something else I should be doing?
thanks