Allow to define Http method for Upload component #1939

Open
opened 2026-01-29 18:15:54 +00:00 by claunia · 0 comments
Owner

Originally created by @bykka on GitHub (Jan 2, 2026).

Hi,

The upload component uses the POST method to upload files to a URL. This does not allow the component to be used for uploading files to an S3 PreSigned URL, as the latter requires the PUT method.

It would be useful to introduce an optional new parameter called 'Method' with a default value of 'POST'.

The method is hardcoded in the file https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/wwwroot/Radzen.Blazor.js line 923.

Originally created by @bykka on GitHub (Jan 2, 2026). Hi, The upload component uses the POST method to upload files to a URL. This does not allow the component to be used for uploading files to an S3 PreSigned URL, as the latter requires the PUT method. It would be useful to introduce an optional new parameter called 'Method' with a default value of 'POST'. The method is hardcoded in the file https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/wwwroot/Radzen.Blazor.js line 923.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1939