Removed convertStreamToString from CallAPI