| IRestClientPostTBody, TResult Method (String, String, TBody) |
Executes a post against the url
Namespace:
SanteDB.Core.Http
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax TResult Post<TBody, TResult>(
string url,
string contentType,
TBody body
)
Function Post(Of TBody, TResult) (
url As String,
contentType As String,
body As TBody
) As TResult
generic<typename TBody, typename TResult>
TResult Post(
String^ url,
String^ contentType,
TBody body
)
abstract Post :
url : string *
contentType : string *
body : 'TBody -> 'TResult
Parameters
- url
- Type: SystemString
The URL to which the data should be posted - contentType
- Type: SystemString
The content/type of body - body
- Type: TBody
The contents/object submitted to the server
Type Parameters
- TBody
- The type of body
- TResult
- The expected result type
Return Value
Type:
TResult[Missing <returns> documentation for "M:SanteDB.Core.Http.IRestClient.Post``2(System.String,System.String,``0)"]
See Also