Assembly: Net;
The INetHttpService interface contains properties and methods that are used to work with network resources using HTTP/HTTPS protocol.
INetHttpService
The interface enables connecting and working with various web servers and services using HTTP-protocol using SOAP-requests. To create connection to network resources, follow the steps:
Create instance of the NetHttpService class.
Set URL of network resource for the obtained object in the INetHttpService.Url property.
Execute the INetService.Connect method for connection. The method result will be context to work with network resource using SOAP requests.
If services are available via the HTTPS protocol, use security certificate in the PEM format:
In Linux OS execute one of the operations:
Add certificate contents to the /etc/ssl/certs/ca-certificates.crt file.
Add a certificate with the *.pem extension to the /etc/ssl/certs folder.
In Windows OS:
Run the Microsoft Management Console built-in utility.
Add a certificate to the Trusted Root Certification Authorities > Certificates folder.
Property name | Brief description | |
The Url property determines URL of network resource. |
Method name | Brief description | |
The Connect method connects to the network resource and returns context to communicate with it. |
See also: