Skip to content

RestRequest.AddObject

Overview

RestRequest RestRequest.AddObject ( obj )
Adds a new object in request

Arguments

Object obj

Object to add

Remarks

Examples

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

var request = client.Request();

request.AddObject({
  z : 3
});

var result = request.ExecuteJson();

See Also