You are here: Start » FIL.NET » Function Reference » System » HTTP » FIL.Http_SendCustomRequest

FIL.Http_SendCustomRequest

Sends a custom HTTP request.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void Http_SendCustomRequest
(
	FilNet.HTTPRequestMethod inMethod,
	string inUrl,
	IList<string> inUrlParameters,
	IList<string> inUrlParametersData,
	IList<string> inHeaders,
	IList<string> inHeadersData,
	FilNet.ByteBuffer inData,
	int inTimeout,
	bool inAllowUntrusted,
	INullable<FilNet.ByteBuffer> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inMethodFilNet.HTTPRequestMethodGETMethod of the request. Default value: GET.
inUrlstringURL of the request.
inUrlParametersSystem.Collections.Generic.IList<string>URL parameters. They will be automatically encoded.
inUrlParametersDataSystem.Collections.Generic.IList<string>URL parameters. They will be automatically encoded.
inHeadersSystem.Collections.Generic.IList<string>Request headers to send. They will be automatically encoded.
inHeadersDataSystem.Collections.Generic.IList<string>Request headers to send. They will be automatically encoded.
inDataFilNet.ByteBufferBinary data to be sent.
inTimeoutint<0, INF>60Request timeout in seconds. Default value: 60.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.
outAnswerFilNet.INullable<FilNet.ByteBuffer>Answer data. This parameter cannot be null.
outResponseCodeintAnswer code. Typically 200 for OK.

Errors

List of possible exceptions:

Error type Description
DomainError Different size of inHeaders and inHeadersData in Http_SendCustomRequest.
DomainError Different size of inUrlParameters and inUrlParametersData in Http_SendCustomRequest.

Function Overrides

See also