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!

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...

Part 2: A Guide to Maximizing Splunk IT Service Intelligence

Welcome to the second segment of our guide. In Part 1, we covered the essentials of getting started with ITSI ...

Part 1: A Guide to Maximizing Splunk IT Service Intelligence

As modern IT environments continue to grow in complexity and speed, the ability to efficiently manage and ...