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!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...