Table of Contents

Class OwnershipVerificationHttp

Namespace
Cloudflare.NET.Zones.CustomHostnames.Models
Assembly
Cloudflare.NET.dll

Represents HTTP-based ownership verification information.

public record OwnershipVerificationHttp : IEquatable<OwnershipVerificationHttp>
Inheritance
OwnershipVerificationHttp
Implements
Inherited Members

Remarks

To verify ownership, serve the HttpBody content at the HttpUrl location.

Constructors

OwnershipVerificationHttp(string, string)

Represents HTTP-based ownership verification information.

public OwnershipVerificationHttp(string HttpUrl, string HttpBody)

Parameters

HttpUrl string

The URL where the verification token must be accessible.

HttpBody string

The content that must be served at the URL.

Remarks

To verify ownership, serve the HttpBody content at the HttpUrl location.

Properties

HttpBody

The content that must be served at the URL.

[JsonPropertyName("http_body")]
public string HttpBody { get; init; }

Property Value

string

HttpUrl

The URL where the verification token must be accessible.

[JsonPropertyName("http_url")]
public string HttpUrl { get; init; }

Property Value

string