Need to send high-level alert info to an API via an HTTP POST request with a custom (api key) authentication header Attempts at using the Call URL and Execute Script actions have failed. The Call URL action only supports defining a custom Content-Type header value, not adding an additional custom header Using the Execute Script action to run a simple (No PA replacement Variables) PowerShell script fails because a secure connection using TLS 1.2 can not be created even though TLS 1.2 is explicitly defined in the script. The PowerShell script has passed the sanity check as it is able to run locally on the target computer without issue. Please advise

Product Info: PA Server Monitor Ultra v9.5.0.259

asked 20 Jun, 10:13

IamMJ's gravatar image

IamMJ
135
accept rate: 0%


Hi IamMJ -

You are correct that the CallURL action doesn't support extra headers, but this seems like something that would be generally useful so we are adding it. I'll update this post when the new build is ready (probably tomorrow).

link

answered 2 hours ago

Doug's gravatar image

Doug ♦♦
10.3k122138
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×14
×13
×11
×4
×3

Asked: 20 Jun, 10:13

Seen: 119 times

Last updated: 2 hours ago