Click or drag to resize

RestClientBasePutTBody, TResult(String, String, TBody) Method

Executes an HTTP PUT against the server

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public TResult Put<TBody, TResult>(
	string url,
	string contentType,
	TBody body
)

Parameters

url  String
The resource URL to be executed against
contentType  String
The content/type to use to serialize body
body  TBody
The content to be submitted to the server

Type Parameters

TBody
The type of body
TResult
The expected result from the server

Return Value

TResult
The response from th eserver

Implements

IRestClientPutTBody, TResult(String, String, TBody)
See Also