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

AVS.Http_SendRequest_POST_JSON Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void Http_SendRequest_POST_JSON
(
	string inUrl,
	string inJsonData,
	INullable<string> outAnswer,
	out int outResponseCode
)

Parameters

Name Type Range Default Description
inUrlstringURL of request.
inJsonDatastringRequest JSON to send.
outAnswerAvlNet.INullable<string>Answer text if provided in UTF-8 encoding. This parameter cannot be null.
outResponseCodeintAnswer code. Typically 200 for OK.

See also