Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > REST API Connections > RestConnection class

About RestConnection class

Scroll Prev Next More

RestConnection class represents a REST API connection created in ASPRunnerPro. It has methods for running requests, authenticating, processing the results etc.

Use getRESTConn function to obtain an instance of RestConnection.

 

set rconn = getRESTConn("my api")

 

 

where "my api" is the REST API Connection name as it appears in ASPRunnerPro.

Omit the name if you have only one REST API connection in your project: