Commit f5e745a
fix: accept plugin_unique_identifier from query params for DecodePluginFromIdentifier (#593)
Changed the struct tag from `json:` to `form:` for PluginUniqueIdentifier field
in DecodePluginFromIdentifier handler. This allows the parameter to be bound
from query string instead of JSON body.
This is consistent with similar GET endpoints (FetchPluginManifest,
FetchPluginFromIdentifier) which already use `form:` tags.
The change is needed because:
- GET requests with body are rejected by some HTTP intermediaries (e.g., Cloud Run)
- HTTP standards state that GET request body has no defined semantics
- Query parameters are the appropriate way to pass data in GET requests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent e709d26 commit f5e745a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
0 commit comments