You are here: Start » FIL.NET » Function Reference » System » HTTP » 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 | |
---|---|---|---|---|---|
![]() | inMethod | FilNet.HTTPRequestMethod | GET | Method of the request. Default value: GET. | |
![]() | inUrl | string | URL of the request. | ||
![]() | inUrlParameters | System.Collections.Generic.IList<string> | URL parameters. They will be automatically encoded. | ||
![]() | inUrlParametersData | System.Collections.Generic.IList<string> | URL parameters. They will be automatically encoded. | ||
![]() | 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. | ||
![]() | inData | FilNet.ByteBuffer | Binary data to be sent. | ||
![]() | 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. | |
![]() | outAnswer | FilNet.INullable<FilNet.ByteBuffer> | Answer data. This parameter cannot be null. | ||
![]() | outResponseCode | int | Answer 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. |