What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

HTTP Data Advanced with placeholders

Votes:

0

Hi, I'm trying to send data to an external website via an HTTP Request (POST) with the following JSON:

{
	"device": "%device",
	"server": "%server",
	"name": "%name",
	"probe": "%probe",
	"sensor": "%sensor",
	"sitename": "%sitename"
}

It does not work, the placeholders are not translation the variable into a value.

Do you have an idea, please?

Thanks

http json placeholder

Created on Nov 4, 2022 2:55:19 PM

Last change on Nov 7, 2022 6:35:36 AM by  Felix Wiesneth [Paessler Support]



1 Reply

Votes:

0

Hello,

Unfortunately, placeholders can not be used in the POST requests. You would need to enter the information directly in the request instead of using the placeholders.


Kind regards,
Sasa Ignjatovic, Tech Support Team

Created on Nov 8, 2022 10:37:06 AM by  Sasa Ignjatovic [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.