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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...