Class PresignedPostResponse
- Namespace
- Cloudflare.NET.R2.Models
- Assembly
- Cloudflare.NET.R2.dll
Represents the response from creating a presigned POST URL, which includes the URL to target and the form fields that must be included in the multipart/form-data request.
public record PresignedPostResponse : IEquatable<PresignedPostResponse>
- Inheritance
-
PresignedPostResponse
- Implements
- Inherited Members
Constructors
PresignedPostResponse(string, IReadOnlyDictionary<string, string>)
Represents the response from creating a presigned POST URL, which includes the URL to target and the form fields that must be included in the multipart/form-data request.
public PresignedPostResponse(string Url, IReadOnlyDictionary<string, string> Fields)
Parameters
UrlstringThe URL to which the POST request should be sent.
FieldsIReadOnlyDictionary<string, string>A dictionary of form fields that must be included in the POST request.
Properties
Fields
A dictionary of form fields that must be included in the POST request.
public IReadOnlyDictionary<string, string> Fields { get; init; }
Property Value
Url
The URL to which the POST request should be sent.
public string Url { get; init; }