Refactored to use doAPICall once
Removed un-necessary multipart parameter

POST() uses by default multipart=TRUE and there is no no need for a
caller of doAPICall to change it.