Search

User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


GLOSSARY


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

This function is used in Python Scripting.

Description

Provides a general

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.net.httpClient()

  • Parameters


String url - The URL to connect to.


?String body -


?String headers - .


Integer connectTimeout - A value, in milliseconds, to set the client’s connect timeout setting to.



Integer readTimeout - A value, in milliseconds, to set the client’s read timeout setting to.


String proxy - The address of a proxy, which will be used for HTTP and HTTPS traffic. If the port is not specified, it will be assumed from the protocol in the URL


Method - See Method sections below.

 Click here to expand...

.get()

 Click here for parameters...



.post()

 Click here for parameters...



.put()

.delete()

.head()

.patch()

.options()

.trace()

.request()


  • Returns

? JythonHttpClient  -  An HttpClient object. Then the client object has methods that can be called against a website to get or send information through the web.

  • Scope

Gateway, Vision Client, Perspective Session

Syntax

system.net.getAsync()

  • Parameters


  • Returns

J t  -  An

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
 
Code Snippet
 
  • No labels