You are here: Start » FIL.NET » Invoke.Http_SendCustomRequest

Invoke.Http_SendCustomRequest

Sends a custom HTTP request.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void Http_SendCustomRequest
(
	Fil.HTTPRequestMethod inMethod,
	string inUrl,
	List<string> inUrlParameters,
	List<string> inUrlParametersData,
	List<string> inHeaders,
	List<string> inHeadersData,
	Fil.ByteBuffer inData,
	int inTimeout,
	bool inAllowUntrusted,
	Optional<string> inCaCertFile,
	Conditional<Fil.ByteBuffer> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inMethodFil.HTTPRequestMethodGETMethod of the request. Default value: GET.
inUrlstringURL of the request.
inUrlParametersSystem.Collections.Generic.List<string>URL parameters. They will be automatically encoded.
inUrlParametersDataSystem.Collections.Generic.List<string>URL parameters. They will be automatically encoded.
inHeadersSystem.Collections.Generic.List<string>Request headers to send. They will be automatically encoded.
inHeadersDataSystem.Collections.Generic.List<string>Request headers to send. They will be automatically encoded.
inDataFil.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.
inCaCertFileFtl.Optional<string>File holding one or more certificates to verify the peer with. Default value: ftl::NIL.
outAnswerFtl.Conditional<Fil.ByteBuffer>Answer data.
outResponseCodeintAnswer code. Typically 200 for OK.

See also