Issue with Curl Splunk app, i have curl command not sure how to use it with Splunk curl app or api modular input. Tried lot of combination but didn't work out.Can someone help with this please.
curl -L -X POST 'https://xyz.com/ui/api/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Cookie: abchdgshksjshskks' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_id=ahsgshj-nshgsh-' \