Project

General

Profile

Actions

Feature #37547

open

Add support for submitting form data from webhook templates

Added by Gardar Arnarsson 24 days ago. Updated 24 days ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

It would be great to be able to submit form data from the webhook templates.

It is actually possible to correctly submit form data from the webhook plugin by setting the HTTP Content Type to application/x-www-form-urlencoded and then submitting the form data from the Test Webhook Action.
However if the same data is put into a template then it does not work correctly as the template renderer turns everything into json (which kind of defeats the purpose of being able to define the http content type).

Actions #1

Updated by The Foreman Bot 24 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_webhooks/pull/76 added
Actions

Also available in: Atom PDF