Support Multiple Request Methods in Endpoint Implementation for Plugin Development #40

Open
opened 2026-02-15 21:15:24 -05:00 by yindo · 0 comments
Owner

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:

path: "/neko"
method: "GET"
extra:
  python:
    source: "endpoints/test_plugin.py"

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.

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: ``` path: "/neko" method: "GET" extra: python: source: "endpoints/test_plugin.py" ``` 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.
yindo added the enhancement label 2026-02-15 21:15:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#40