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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...