Click or drag to resize

RestClientBasePostTBody, TResult Method (String, String, TBody)

Execute a post against the url

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

Parameters

url
Type: SystemString
The resource URL
contentType
Type: SystemString
The content/type of body
body
Type: 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

Type: TResult
The result from the server

Implements

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