Developer Portal for YouTrack and Hub Help

http

Contains definitions for objects and classes that exchange and transfer data over HTTP. The main class is Connection.

Types

This module supports the following object types:

Type

Description

Connection

Main class that is used to establish a connection and send requests to target sites.

REQUEST_TYPES

A collection of supported HTTP request types. Note that instead of passing a proper request type to the Connection.doSync method, there are dedicated methods that correspond to each request type that you can call directly. For example, getSync or postSync.

Response

A class that creates a definition for an HTTP response. If an exception occurs during processing, most of the properties in the response object are empty.

Last modified: 7 November 2024