Skip to content
DocsTry Aspire
DocsTry

PostaRequest Properties

ClassProperties6 members
Arguments for invoking a Posta endpoint.
BearerTokenSection titled BearerTokennullablestring?
Gets a per-request bearer credential overriding configured credentials.
public string? BearerToken { get; init; }
BodySection titled Bodynullableobject?
Gets the object serialized as JSON.
public object? Body { get; init; }
ContentSection titled ContentnullableHttpContent?
Gets custom HTTP content for streaming or multipart requests.
public HttpContent? Content { get; init; }
HeadersSection titled HeadersIReadOnlyDictionary<string, string>
Gets additional request headers.
public IReadOnlyDictionary<string, string> Headers { get; init; }
PathParametersSection titled PathParametersIReadOnlyDictionary<string, object?>
Gets path parameter values without braces, for example id.
public IReadOnlyDictionary<string, object?> PathParameters { get; init; }
QuerySection titled QueryIReadOnlyDictionary<string, object?>
Gets query string values. Collections are emitted as repeated keys.
public IReadOnlyDictionary<string, object?> Query { get; init; }