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
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...