Click or drag to resize

RestClientBasePostTBody, TResult(String, String, TBody) Method

Execute a post against the url

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

Parameters

url  String
The resource URL
contentType  String
The content/type of body
body  TBody
The body contents to be submitted to the server

Type Parameters

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

Return Value

TResult
The result from the server

Implements

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