Using Internet Utility Classes

Create and execute HTTP requests using the %Net.HttpRequest class in InterSystems IRIS.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/sorodriguezz/skills-objectscript --skill using-internet-utility-classes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Using Internet Utility Classes
Source: https://github.com/sorodriguezz/skills-objectscript/tree/main/skills/using-internet-utility-classes
Command: npx skills add https://github.com/sorodriguezz/skills-objectscript --skill using-internet-utility-classes

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of making HTTP requests from within the InterSystems IRIS environment, enabling seamless integration with web services and APIs.

Core Features & Use Cases

  • HTTP Request Creation: Easily instantiate and configure %Net.HttpRequest objects.
  • Request Customization: Set server, port, headers, authentication, proxy, and SSL configurations.
  • Sending Various HTTP Methods: Supports GET, POST, PUT, DELETE, HEAD, and PATCH requests.
  • Handling Responses: Access response data, headers, and status codes.
  • Use Case: Retrieve data from a public API to display on a dashboard or submit form data to an external service.

Quick Start

Use the Using Internet Utility Classes skill to send a GET request to 'https://api.example.com/data'.

Frequently Asked Questions about Using Internet Utility Classes

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send HTTP requests from InterSystems IRIS using ObjectScript?

To send HTTP requests in InterSystems IRIS, instantiate and configure the %Net.HttpRequest class using ObjectScript, setting properties like server, port, and headers. You then execute the desired HTTP method to interact with external web services.

Can I configure proxy and SSL settings for API calls in IRIS?

Yes, you can configure proxy and SSL settings for API calls in IRIS. The %Net.HttpRequest class allows you to specify proxy configurations and SSL parameters directly to securely interact with external web services.

What HTTP methods are supported by the IRIS internet utility classes?

The IRIS internet utility classes support multiple HTTP methods including GET, POST, PUT, DELETE, HEAD, and PATCH. This allows developers to perform various CRUD operations and interact dynamically with RESTful APIs and web services.

How do I handle authentication and headers when making a web request in ObjectScript?

To handle authentication and headers in ObjectScript web requests, configure the %Net.HttpRequest object by setting its authentication properties and adding custom headers before sending the request to the target server.

How do I process response data and status codes from an HTTP request in IRIS?

To process response data and status codes from an HTTP request in IRIS, access the properties of the %Net.HttpRequest object after execution to retrieve the returned HTTP status codes, headers, and body content.