All Apps and Add-ons

Specify Body in Rest call

niordache
Explorer

Hi all,

In order to obtain the relevant data from my server through it's WebApi I need to make some Post requests . However I need to pass a Json object in the Request Http Body. How could this be achieved ? In the Rest-UI there is no element that allows you to do this.

1 Solution

Damien_Dallimor
Ultra Champion

When you select the HTTP POST method in the setup screen , you will see a "Request Payload" field.

alt text

View solution in original post

Damien_Dallimor
Ultra Champion

When you select the HTTP POST method in the setup screen , you will see a "Request Payload" field.

alt text

Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...