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

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 Sprint 9 [ 198 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          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