REST.Client.TCustomRESTRequest.TBody

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBody = class

C++

class PASCALIMPLEMENTATION TBody : public System::TObject

Properties

Type Visibility Source Unit Parent
class public
REST.Client.pas
REST.Client.hpp
REST.Client TCustomRESTRequest

Description

Represents the body parameter of a REST request.

Use Add to add content to the value of the body parameter, or ClearBody to clear its current value. You can alternatively use JSONWriter to write the value of the body parameter.

A value defined using JSONWriter takes precedence over any value defined using Add. To replace a value that you defined using JSONWriter, you must call ClearBody.

See Also