I'm using REST API to update an existing confluence page. I try to parse the page in a bs4 object and after manipulating the content, I'm trying to write the same using requests.put() method in python. But this returns a bad request. Any lights on this?
{"statusCode":400,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"Error parsing xhtml: Unexpected character '&' (code 38) in start tag Expected a quote\n at [row,col {unknown-source}]: [1,2033]","reason":"Bad Request"}