Table of Contents

TMS FNC REST Client Guides

TTMSFNCRESTClient is a low-level HTTP client for talking to any REST API from VCL, FMX, and TMS WEB Core applications with one shared code base. You describe a call once on its Request object — host, path, query, headers, authorization, and body — then execute it and read the result as text, a stream, or a file. Requests run asynchronously by default so the UI stays responsive, and every call is recorded in an execution history you can inspect afterwards. Reach for this component when you are integrating a service that has no dedicated TMS cloud component, or when you want full control over the raw request and response.

These chapters break the component down by task. Start with Get started for a working request in a few lines, then dig into the area you need.

Building and sending requests

Chapter Covers
Configuring the request Composing the URL from host, path, port, and query; setting the method, query parameters, headers, and a request body.
Authentication API keys, bearer tokens, HTTP basic, and custom authorization headers via AuthorizationOptions.
Executing requests and result types Synchronous vs. asynchronous execution and reading the response as a string, a stream, or a file.

Working with results

Chapter Covers
Responses, events, and history Response events, inspecting status/size/timing/headers, and walking the executed-request history.
Reusing requests with REST Insight The design-time editor, saving and loading request definitions, and generating Delphi classes from a JSON response.

See also