Click or drag to resize

RestClientBaseCreateHttpRequest Method

Create the HTTP request

Namespace: SanteDB.Core.Http
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
protected virtual WebRequest CreateHttpRequest(
	string resourceNameOrUrl,
	NameValueCollection query
)

Parameters

resourceNameOrUrl  String
The name of the resource at the base URL to be executed
query  NameValueCollection
The query which should be executed on the server

Return Value

WebRequest

[Missing <returns> documentation for "M:SanteDB.Core.Http.RestClientBase.CreateHttpRequest(System.String,System.Collections.Specialized.NameValueCollection)"]

Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when the description (configuration) does not contain any endpoints.
See Also