Call Web Services from MATLAB Using HTTP - MATLAB & Simulink (original) (raw)

Main Content

Communicate with Web services using HTTP (Hypertext Transfer Protocol)

The MATLAB® RESTful web services functions webread, websave, webwrite, and the support function weboptions allow non-programmers to access many web services using HTTP GET and POST methods. For information about these functions, see Web Services.

However, some interactions with a web service are more complex and require functionality not supported by the RESTful web services functions. The MATLAB HTTP interface provides classes for writing web access applications. The interface includes classes for messages, their headers and fields, and other entities defined in The Internet Engineering Task Force (IETF®) standards. The interface contains functions that implement semantics of HTTP messaging and utilities for processing the data sent and received. It also contains support classes required to process, transmit, and receive messages.

The web services APIs only support HTTP 1.1.

Classes

expand all

HTTP Messages

Header Field Class and Field Namespace

Streaming Content Consumers

Streaming Content Providers

HTTP Support

URI Support

Functions

Namespaces

Topics