dify/api/core/plugin/impl
minodisk 84ff43d9b7 fix: use query params instead of request body for decode_plugin_from_identifier
The decode_plugin_from_identifier endpoint was sending plugin_unique_identifier
in the request body with a GET request. This causes issues with HTTP intermediaries
like Google Cloud Run's frontend, which rejects GET requests with a body as
malformed (returning 400 Bad Request).

Changed from `data=` (request body) to `params=` (query parameters), which is:
- Consistent with similar GET endpoints (fetch_plugin_manifest, fetch_plugin_by_identifier)
- Compliant with HTTP standards (GET requests should not have semantic body content)
- Compatible with Cloud Run and other HTTP proxies/load balancers

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 21:23:07 +09:00
..
agent.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
asset.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
base.py feat(refactoring): Support Structured Logging (JSON) (#30170) 2026-01-04 11:46:46 +08:00
datasource.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
debugging.py refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00
dynamic_select.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
endpoint.py refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00
exc.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
model.py Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
oauth.py feat: oauth refresh token (#22744) 2025-07-23 13:12:39 +08:00
plugin.py fix: use query params instead of request body for decode_plugin_from_identifier 2026-01-07 21:23:07 +09:00
tool.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
trigger.py feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00