Click or drag to resize

IWebApiCreateResponseT Method

Create http response with data
Examples
var webApi = ctx.Use<IWebApi>();
var data = new { FirstName = "Thao", LastName = "Dinh" };        
webApi.CreateResponse(data);

Namespace:  Casewhere.WebTrigger.DSL
Assembly:  Casewhere.WebTrigger (in Casewhere.WebTrigger.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
void CreateResponse<T>(
	T data
)

Parameters

data
Type: T
Response data

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Casewhere.WebTrigger.DSL.IWebApi.CreateResponse``1(``0)"]

See Also