Trying to connect to REST-API with python in dynamo

A colleague has pointed out an issue you maybe facing due to the embedded dependencies in Revit/Dynamo

Indeed, I had a similar experience working on the FME connector.