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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...