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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...