How to construct the URL from the following curl command
/usr/bin/curl -s -k -u user1:passwd https://splunk.ce.corp:8089/servicesNS/monitor/wms/search/jobs/export -d "search=savedsearch %22WMOS%20%2d%20EW%20%2d%20Number%20of%20Allocation%20records%22" -d "output_mode=csv"
Any idea?
You have the URL in the curl command: https://splunk.ce.corp:8089/servicesNS/monitor/wms/search/jobs/export. The remaining text are data passed as part of the POST request.
You may find the REST User Manual useful. https://docs.splunk.com/Documentation/Splunk/7.3.3/RESTUM/RESTusing