Calls promote's REST API and returns a JSON document containing both the prediction and associated metadata.