How to convert this below SQL to DSL
SELECT * FROM contact_names JOIN contacts_profile_data ON contact_names.contact_id = contacts_profile_data.contact_id
When iam using the below approach
POST /_sql/translate
{
“query”:“SELECT * FROM contact_names JOIN contacts_profile_data ON contact_names.contact_id = contacts_profile_data.contact_id;”
}
iam getting this message,
{“Message”:“Your request: ‘/_sql/translate’ is not allowed.”}
How can i resolve it .
please help me out with this.