mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
Support Multiple Request Methods in Endpoint Implementation for Plugin Development #40
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @w2534073922 on GitHub (Jun 13, 2025).
How to implement an endpoint that supports multiple request methods (e.g., GET/POST) for the same interface?
The current case in the plugin development documentation only allows declaring a single method:
My requirement is to enable a third-party robot to send messages to an AI agent, but the robot's callback URL must support multiple request methods. This requires modifying the endpoint configuration to handle different HTTP methods without being limited to the single-method declaration in the existing documentation.