Open
Description
public interface IMyApi
{
[Multipart]
[Put("")]
Task<BaseResponse> UploadFileAsync([Url] string dynamicUrl, StreamPart stream, CancellationToken cancellationToken = default);
}
await api.UploadFileAsync(
presignedUrl,
new StreamPart(new MemoryStream(fileContent), request.FileName), cancellationToken).ConfigureAwait(false);
When I set the attribute [Put("")], when running the program it does not automatically pass the dynamic url in to replace it.
it doesn't seem to work
Base address of IMyApi: https://example.com
presignedUrl: https://s3.amazon.com/xyz/abc...
Metadata
Assignees
Labels
No labels
Activity