You are here: Start » AVL.NET » AVS.Http_SendRequest_PUT_JSON Method
AVS.Http_SendRequest_PUT_JSON Method
Sends a PUT request in JSON format to the server and receives a text answer.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void Http_SendRequest_PUT_JSON ( string inUrl, IList<string> inHeaders, IList<string> inHeadersData, string inJsonData, int inTimeout, bool inAllowUntrusted, NullableRef<string> inCaCertFile, INullable<string> outAnswer, out int outResponseCode )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inUrl | string | URL of request. | |||
inHeaders | System.Collections.Generic.IList<string> | Request headers to send. They will be automatically encoded. | |||
inHeadersData | System.Collections.Generic.IList<string> | Request headers to send. They will be automatically encoded. | |||
inJsonData | string | Request JSON to send. | |||
inTimeout | int | <0, INF> | 60 | Request timeout in seconds. Default value: 60. | |
inAllowUntrusted | bool | False | Whether or not to allow untrusted SSL certificates. Default value: False. | ||
inCaCertFile | AvlNet.NullableRef<string> | File holding one or more certificates to verify the peer with. Default value: atl::NIL. | |||
outAnswer | AvlNet.INullable<string> | Answer text if provided in UTF-8 encoding. This parameter cannot be null. | |||
outResponseCode | int | Answer code. Typically 200 for OK. |