I have to request to the page that returns xml format. I suppose to work with data I get, so in case it will be json data, I would write something like
if response.content:
try:
res_decoded = response.json()
But what if I know It is data in format xml, how does this part of code should look? Just simply confused