Getting Data In

How do you make post and get calls using REST API through GUI?

ntalwar
New Member

I have post and get request URI's that I use in insomnia to make REST calls. It gets data there, but I need to make post and get calls using Splunk REST GUI. Please help.

I am using the key = '' and content Type= app/jsom for post call. The post request gets a key that I use as a token, using username and password, and the token generates another key, which I use to make a get call, which gets result in insomnia.

I need to make the same post and get calls in splunk. Please help

Thanks

0 Karma

gjanders
SplunkTrust
SplunkTrust

Are you trying to run REST commands in the Splunk search interface?
The rest search command supports the "GET" functionality only, not POST, so you cannot do in the GUI what you can do with REST calls from Insomnia/Postman or curl, however you can write python code to what you want or add a search command that does post-functionality that is similar to the rest command...

0 Karma
Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...