Which of the following endpoints is used to authenticate with the Splunk REST API?
Which of the following endpoints is used to authenticate with the Splunk REST API?
The correct endpoint to authenticate with the Splunk REST API is /services/auth/login. This endpoint is used to log in to Splunk and obtain a session token that is required for making authorized requests to other Splunk REST API endpoints.
curl -k https://localhost:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=pass
Letter A is correct.