Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5131

Webhooks: POST method doesn't appear to do anything

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.10.0-b1
    • Fix Version/s: 5.10.0-b1
    • Component/s: Plugins, Staff Interface
    • Labels:
      None

      Description

      The POST method for an Outgoing webhook doesn't seem to work at all. At least, it doesn't register with the webhook.site webhook test site which does accept the method.

      However, if selecting JSON as the webhook method, the request is sent as a POST request with JSON data (Which is good, I think we want that). Shouldn't the POST method send the data formatted similar to the GET method, but just as a POST instead?

      2 possibly 3 things here:

      1. POST doesn't seem to work.
      2. JSON is a format not an HTTP verb. Perhaps we should call it POST JSON instead of JSON only.
      3. That brings up the question, if we are sending JSON as a POST request, should we add another option called GET JSON to send JSON formatted data as a GET?

        Activity

        Hide
        admin Paul Phillips added a comment -

        I confirmed POST is not working by using webhook-test.com. It fails on webhook.site, and webhook-test.com.

        Show
        admin Paul Phillips added a comment - I confirmed POST is not working by using webhook-test.com. It fails on webhook.site, and webhook-test.com.
        Hide
        abdy Abdy Franco added a comment -

        Fixed on CORE-5129

        Show
        abdy Abdy Franco added a comment - Fixed on CORE-5129

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Apr/24

              Agile