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?
I confirmed POST is not working by using webhook-test.com. It fails on webhook.site, and webhook-test.com.