Skip to content

Fix DependencyTrack API request method#30

Merged
lukpueh merged 1 commit intoeclipse-csi:mainfrom
lukpueh:fix-dt-request
Mar 11, 2026
Merged

Fix DependencyTrack API request method#30
lukpueh merged 1 commit intoeclipse-csi:mainfrom
lukpueh:fix-dt-request

Conversation

@lukpueh
Copy link
Contributor

@lukpueh lukpueh commented Mar 11, 2026

DT's sbom upload API supports POST for multipart/form-data and PUT for application/json.

This patch changes the used method in the DT API call from POST to PUT, to match the passed headers and data.

Also updates DESIGN.md to not mention the request method (it is an implementation detail).

DT's sbom upload API supports POST for multipart/form-data and PUT for
application/json.

This patch changes the used method in the DT API call from POST to PUT,
to match the passed headers and data.

Also updates DESIGN.md to not mention the request method (it is an
implementation detail).

Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
@lukpueh
Copy link
Contributor Author

lukpueh commented Mar 11, 2026

@lukpueh lukpueh merged commit dd084f1 into eclipse-csi:main Mar 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants