Share

HttpRequest.method Property

Parent Object: HttpRequest
Defined in namespace "adsk::core" and the header file is <Core/Application/HttpRequest.h>

Description

Gets and sets the method to use for the request.

Syntax

"httpRequest_var" is a variable referencing a HttpRequest object.

# Get the value of the property.
propertyValue = httpRequest_var.method

# Set the value of the property.
httpRequest_var.method = propertyValue

Property Value

This is a read/write property whose value is a HttpMethods.

Version

Introduced in version January 2024

Was this information helpful?