All Apps and Add-ons

Set REST API URL using an input parameter

changux
Builder

Hi all.

I want to prepare a TA that allow users to set HOST API URL. I tried with an Input parameter and doesn't work. How can I set this? Thanks!

alt text

0 Karma
1 Solution

jconger
Splunk Employee
Splunk Employee

Use curly braces around your variable name. For example:

http://${api_url}/info/

I tried this with a generic JSON REST endpoint and it worked.alt text

View solution in original post

0 Karma

jconger
Splunk Employee
Splunk Employee

Use curly braces around your variable name. For example:

http://${api_url}/info/

I tried this with a generic JSON REST endpoint and it worked.alt text

0 Karma

changux
Builder

Anybody? Please help!

0 Karma
Get Updates on the Splunk Community!

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 ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...