# HTTP/REST Endpoint Properties

## `path` (string, required)

API path to call

Example: `"/some/api"`

## `interval` (integer)

Polling interval in ms for subscriptions

Default: `5000`

## `cronExpression` (string)

The Cron expression used to poll the endpoint. (For examples, see: <https://github.com/node-cron/node-cron>)

Examples: `"1,2,4,5 * * * *"`, `"1-5 * * * *"`, `"*/2 * * * *"`, `"* * * January,September Sunday"`

## `query` (object)

Optional query parameters to be added to the request

## `headers` (object)

Optional headers to be added to the request

## `method` (string)

The method used for write endpoints one of: patch, post, put

Default: `"post"`


---

# 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.cybus.io/1-10-2/documentation/industry-protocol-details/http-rest/httpendpoint.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.
