dify/api/core/plugin
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
..
backwards_invocation feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00
endpoint fix: handle EndpointSetupFailedError in BasePluginClient (#19613) 2025-05-15 13:59:43 +08:00
entities chore: use from __future__ import annotations (#30254) 2026-01-06 23:57:20 +09:00
impl fix: use query params instead of request body for decode_plugin_from_identifier 2026-01-07 21:23:07 +09:00
utils feat: introduce trigger functionality (#27644) 2025-11-12 17:59:37 +08:00