# REST

***

## 3.0.2

11 May 2026

* Fixed: CallRESTEndpoint did not correctly handle array parameters in multipart-encoded request bodies. Each value of a list is now sent as a separate entry with the same parameter name. A null value or empty array will be excluded. This behaviour applies to a list of simple values only (not objects).

***

## 3.0.1

09 Apr 2026

{% hint style="info" %}
**Breaking change**

[What will break and how to fix it](/releasenotes/plugins/rest/breaking-changes.md#3-0-1)
{% endhint %}

* Fixed: RESTHost XML request body failed to deserialize when the schema type had an XML namespace
* Fixed: RESTHost did not read and write date-times in the format expected by the OpenAPI specification for XML content types

***

## 2.6.1

23 Feb 2026

* Fixed: RESTHost threw a runtime exception when the API definition contained parameters with `format: uri`
* Fixed: CallRESTEndpoint multipart form submissions silently dropped non-string parameter values (e.g. numbers, objects) instead of serializing them
* Fixed: RESTHost dropped BeforeOperation and AfterOperation event functions when renaming operations with a path case change
* Fixed: Importing an API definition with paths that differ only in letter casing (e.g. `/api/Users` and `/api/users`) failed
* Fixed: In solutions migrated from Linx 5, saving changes to a SimpleRESTHost operation cleared the associated event content

***

## 2.6.0

22 Jan 2026

* Added watermark to RESTHost editor to provide guidance when configuring a new REST service

***

## 2.5.2

05 Dec 2025

* Fixed: CallRESTEndpoint unnecessarily wrapped date values in quotes
* Fixed: Copying and pasting CallRESTEndpoint functions or REST services resulted in type ID conflicts
* Fixed: RESTHost and SimpleRESTHost did not correctly accept wildcard ("\*") as a valid CORS origin value
* Fixed: Setting CORS origin to null or an empty list now correctly rejects all origins for RESTHost and SimpleRESTHost

***

## 2.5.1

27 Aug 2025

* Fixed: Undo on CallRESTEndpoint removed execution paths without unchecking "Handle error status codes" property
* Fixed: Converter throws ArgumentException when looping over `$.Parameter.Data.HttpContext.Items`

***

## 2.5.0

12 Aug 2025

* Modifying a custom type used as the result type of a CallRESTEndpoint function caused unnecessary file differences
* RESTHost prevented UI updates after operations were added

***

## 2.4.0

30 Jan 2025

* Supports OpenAPI 3.1
* Add the "Handle Redirects" property
* Lessen noise in file diffs

***

## 2.3.0

16 Oct 2024

* Updated to .NET 8.0
* In the Designer, changed SimpleRESTHost operations property from JSON to (Collection)
* Fixed: `BeforeOperation` and `AfterOperation` events threw an "Object reference not set to an instance of an object" exception in the service.

***

## 2.2.2

29 Aug 2024

* Validations are now shown in the API Definition Editor. Previously, invalid definitions seemed valid in the editor due to the lack of validations. This fix also prevents saving an invalid definition.

***

## 2.2.1

20 May 2024

* Save button in the RESTHost API Definition Editor is now disabled when there are validation errors

***

## 2.2.0

3 Nov 2023

* Changed the plugin from Windows-specific to be platform-independent
* Added coroutine support (async-await). This vastly improves the handling of concurrent requests by CallRestEndpoint, the RESTHost, and SimpleRESTHost.

***

## 2.1.0

21 Aug 2023

* In the CallRESTEndpoint function, [any type objects](https://swagger.io/docs/specification/data-models/data-types/#any) are now JSON serialized to string when assigned to a string property
* Fixed issue where RESTHost interpreted [free-form objects](https://swagger.io/docs/specification/data-models/data-types/#free-form) as lists

***

## 2.0.0

11 May 2023

{% hint style="info" %}
**Breaking change**

[What will break and how to fix it](/releasenotes/plugins/rest/breaking-changes.md#2-0-0)
{% endhint %}

* Fixed issue where Multipart form did not receive binary file contents
* Fixed base64 format option did not work in a multi-part form

***

## 1.2.1

11 Apr 2023

* Fixed malalignment issue of the validation icon in the Name and Path property of SimpleRestHost

***

## 1.2.0

17 Feb 2023

* Added API Base URL and Docs URL to the Debug Output
* REST now returns 200 status code by default if none is specified
* Fixed issue where SimpleRESTHost dropped event functions when renaming operations
* Fixed issue where unneeded Return was required after CallRESTEndpoint

***

## 1.1.1

25 Oct 2022

* When the body format on CallRESTEndpoint is set to Stream, set the body ContentType in the request to 'application/octet-stream'

***

## 1.1.0

27 Jul 2022

* Support OPTIONS method in HTTP client
* Resolved 'Cannot access a closed stream' exception in SimpleREST host
* Resolved issue where result type with variant property sent the object through as a string

***

## 1.0.3

6 Apr 2022

* Reduced the amount of data saved for REST functions and services

***

## 1.0.2

18 Mar 2022

* First release

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linx.software/releasenotes/plugins/rest.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
