All Apps and Add-ons

How to use token substitution in the payload with the POST method in the REST API Modular Input Add-on?

cpapadop
New Member

Hey all,

I use the REST Modular Input to fetch some Data from a Backup System.
Everything works fine, even Token substitution ($ids$) with the GET method. Now I need to fetch data with the POST method on a single endpoint but where the Token substitution takes place in the request payload. So in principle something like:

request_payload = <jobId="$function_in_tokens$"/>

Is there a way to implement this?

0 Karma
1 Solution

Damien_Dallimor
Ultra Champion

That feature is not available in the current App release , but is a good example of the type of customization we provide for customers that have a commercial support plan with us : www.baboonbones.com/#support

View solution in original post

0 Karma

lfedak_splunk
Splunk Employee
Splunk Employee

Hey @cpapadop, if they solved your problem, remember to "√Accept" an answer to award karma points 🙂

0 Karma

Damien_Dallimor
Ultra Champion

That feature is not available in the current App release , but is a good example of the type of customization we provide for customers that have a commercial support plan with us : www.baboonbones.com/#support

0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...