Logging statements are not accurate curl statements. Note double quotes are being escaped.
2020-09-16 12:15:10,429 DEBUG curl --silent -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' --data '"{\"body\": {\"storage\": {\"representation\": \"storage\",
Using these curl statements complicates atlassian-python-api debugging given API responses convey a different error from what occurred during python execution
{"statusCode":400,"message":"Can not instantiate value of type [simple type, class com.atlassian.confluence.api.model.content.Content] from JSON String; no single-String constructor/factory method","reason":"Bad Request"}
json.dumps() is leveraged twice prior to writing the request's data payload.
Logging statements are not accurate curl statements. Note double quotes are being escaped.
2020-09-16 12:15:10,429 DEBUG curl --silent -X POST -H 'Content-Type: application/json' -H 'Accept: application/json' --data '"{\"body\": {\"storage\": {\"representation\": \"storage\",
Using these curl statements complicates atlassian-python-api debugging given API responses convey a different error from what occurred during python execution
{"statusCode":400,"message":"Can not instantiate value of type [simple type, class com.atlassian.confluence.api.model.content.Content] from JSON String; no single-String constructor/factory method","reason":"Bad Request"}