question

sergepozi avatar image
0 Likes"
sergepozi asked ·

xml parse error python code,Got response error "xml parse error" python code

This is the code: request = Request(headers=headers, method='POST', url=' https://api.ebay.com/ws/api.dll', data={'NumberOfDays': 30}) session = Session() session.mount('http://', HTTPAdapter(max_retries=3)) session.mount('https://', HTTPAdapter(max_retries=3)) request.body=""" ABC...123 1 170000029202 Greetings! Thank you for your offer. In fact, you made the Best Offer, so I am happy to inform you that you won the book. bountifulbuyer 2 170000029202 Greetings! Thank you for your offer. I am sorry to inform you that another bidder also made an offer, and I have decided to go with their offer. Good luck with your future bidding. megabuyer """ prepered =request.prepare() response = session.send(prepered, verify=False, allow_redirects=True, timeout=20) print response.text The response I got: 51SeriousError00RequestError why?
pythonxmlmessagesxml responsexml request
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.