You are here: Start » AVL.NET » AVS.Http_SendRequest_POST Method

AVS.Http_SendRequest_POST Method

Sends a POST request to the server and receives a text answer.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void Http_SendRequest_POST
(
	string inUrl,
	IList<string> inHeaders,
	IList<string> inHeadersData,
	IList<string> inFields,
	IList<string> inFieldsData,
	int inTimeout,
	bool inAllowUntrusted,
	NullableRef<string> inCaCertFile,
	INullable<string> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inUrlstringURL of request.
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.
inFieldsSystem.Collections.Generic.IList<string>Request data to send. It will be automatically encoded.
inFieldsDataSystem.Collections.Generic.IList<string>Request data to send. It will be automatically encoded.
inTimeoutint<0, INF>60Request timeout in seconds. Default value: 60.
inAllowUntrustedboolFalseWhether or not to allow untrusted SSL certificates. Default value: False.
inCaCertFileAvlNet.NullableRef<string>File holding one or more certificates to verify the peer with. Default value: atl::NIL.
outAnswerAvlNet.INullable<string>Answer text if provided in UTF-8 encoding. This parameter cannot be null.
outResponseCodeintAnswer code. Typically 200 for OK.

Function Overrides

See also