POST request from a Splunk app using the @splunk/splunk-utils package
This snippet shows how to use the handleError and handleResponse functions from the splunk-utils package to send a POST request from a Splunk app:
This snippet shows how to use the handleError and handleResponse functions from the splunk-utils package to send a POST request from a Splunk app: