Splunk Cloud Platform

What is the definition of  "rest.simpleRequest" function?

rolyrolex
Path Finder

Hello all, 

Did someone know the definition of  "rest.simpleRequest" function ? I'm trying to find how it works when we use it like this. 

rest.simpleRequest(url, postargs=postargs, sessionKey=key, raiseAllErrors=True)

 

thank y'all

Labels (1)
Tags (2)
0 Karma

rmccullagh
Explorer

Hey rolyrolex,

You can actually view the contents of the class under $SPLUNK_HOME/lib/python3.7/site-packages/splunk/rest/__init__.py

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...