Query ML Endpoint with R and Curl

BogdanV
New Contributor III

I am trying to get a prediction by querying the ML Endpoint on Azure Databricks with R. 
I'm not sure what is the format of the expected data. Is there any other problem with this code?

R Code.png

Thanks!!!