I am keep getting the 400 Bad Request Error
. Please can any one tell me what i am doing wrong here?? I don't want to use libraries.
from requestmanager import RequestManager
from datetime import datetime
from urllib import quote
dt = quote(datetime.strftime(datetime.utcnow(), '%Y-%m-%d %H:%M:%S'))
sign = quote('mySecretAceessKey')
key = 'myKey'
if __name__ == '__main__':
rP = RequestManager()
url = 'http://webservices.amazon.com/onca/xml?Service=AWSECommerceService&AWSAccessKeyId='+key+'&Operation=ItemLookup&ItemId=B003MWJKVI&ResponseGroup=Large&Timestamp='+dt+'&Signature='+ sign
response = rP.getContent(url)
content = response.RESPONSE
I am following the steps mention here.