Altova XMLSpy 2026 Enterprise Edition

HTTP and OpenAPI

Accueil Préc Haut Suivant

HTTP (Hypertext Transfer Protocol) is the protocol (or set of rules) that defines how files (text, images, audio, video, and other multimedia files) are transmitted over the Internet. Every web server runs a program (known as a daemon) that continuously  waits for HTTP requests and handles each as it arrives. For example, when you visit a website's home page, your browser sends an HTTP command to the website's web server that requests the download of the home page; the server's HTTP daemon receives the request and sends the requested page. One significant property of HTTP bears noting: that it is stateless, which means that each HTTP command is carried out independently, without any reference to previous or following commands.

 

In XMLSpy, you can test HTTP commands in the HTTP output window (screenshot below). Here you can create and send an HTTP request to a web server, and receive and check the response.

 

Parts of the HTTP output window

La fenêtre de sortie HTTP a neuf onglets (voir la capture d’écran ci-dessous). Vous pouvez stocker une requête séparée dans chaque onglet et passer d'un onglet à l'autre. Après avoir créé une requête dans la fenêtre, vous pouvez envoyer la requête en cliquant sur le bouton Envoyer. La réponse est affichée directement dans la fenêtre.

XSEmptyHTTPWindow

La fenêtre consiste en les parties suivantes :

En haut : (i) une zone de liste dans laquelle vous sélectionnez la méthode HTTP que vous souhaitez utiliser ; (ii) un champ de saisie pour l’URL sur le serveur web ; (iii) des touches liées à l’exécution de requêtes HTTP (Envoyer, Importer et Réinitialiser).

Un volet de gauche pour créer la requête.

Un volet de droite pour afficher l’information et l’information de journalisation relative à la requête.

 

How the HTTP output window works is described in the sub-sections of this section.

 

OpenAPI in XMLSpy

XMLSpy provides the following support for OpenAPI Documents, which are the YAML or JSON documents in which an API is described.

 

Validation of OpenAPI Documents against the OAS. An OpenAPI Document is a file in YAML or JSON format that describes an API that follows the OpenAPI specification

Editing support for OpenAPI Documents, such as syntax highlighting, folding margins, and auto-completion

Creating and sending an HTTP request based on an OpenAPI Document, and receiving and displaying the response

 

See the OpenAPI topic for details.

 

© 2019-2025 Altova GmbH