Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview

Adds a new object in request as request body.

RestRequest myRestRequest.AddObject(obj: ( string | object ))

Arguments

( string | object ) obj
Object to add

Example

var client = $Rest.Create('http://targetserver');
var request = client.Request();

request.AddObject({
    x: 23,
    y: "NEW",
    z: "2018-09-17"
});
var result = request.ExecuteJson();
  • No labels