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

View solution in original post

0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.