Hi, I am trying to do a curl request to the Kibana APIs but getting error that the handler does not exist. For eg.
curl -H 'kbn-xsrf: true' -H "Authorization: Basic <token>" <kibana_host>:<kibana_port>/api/saved_objects/index-pattern/<id>
{"error":"no handler found for uri [/api/saved_objects/index-pattern/436678e0-0784-11ed-8c0a-51428f0989c8] and method [GET]"}
What am I doing wrong?