# REST

Linx supports the creation and hosting of REST web services.

{% hint style="info" %}
New to REST?\
For an overview of the REST plugin, go [here](/reference/plugins/rest.md).

For specific details on using Linx to call a REST API, go [here](/reference/plugins/rest/content/callrestendpoint.md).
{% endhint %}

Listed below is a collection of practical guides that explain and demonstrate how to **host** your own REST web services.

***

## Guides for hosting a REST API

***

* [RESTHost Overview Guide](/guides/rest-overview.md)
* [Get Started - Hello World](https://community.linx.software/community/t/resthost-get-started-hello-world/466)
* [Before and After operation events](/guides/rest_operation_events.md)
* [Working with inputs](/guides/resthost-working-with-inputs.md)
* [Handling responses](/guides/rest-responses.md)
* [Securing your API](https://community.linx.software/t/resthost-guide-securing-your-api/462)
* [Deploying and common issues](/guides/rest-deployment.md)
* [Generating API documentation](/guides/rest-documentation.md)
* [Sample solution: CRUD and file operations](https://community.linx.software/t/resthost-sample-solution-crud-and-file-operations/467)

***

## Sample

View our sample solution on [GitHub](https://github.com/linx-software/petstore-api).


---

# 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/guides/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.
