This comment depends on the comment above :)

If I'm right about multipart, I think I'd rather have the call to twInterfaceObj$doAPICall() in just one place w/ the if/else defining what the URL endpoint to use is (and the else also setting the params). 

If I was way off base up above, disregard entirely :)